我在web2py中的模块路径中有模块,为了导入我刚才放置的那些模块它工作得很完美,但是有时是,不知怎么地,它会压碎并显示出错误的说法。ImportError: No module named mymodule为了解决这个问题,我删除了.pyc中的所有web2py即使一切顺利,当我编辑一个模块时,我必须重新启动web2py才能得到新的修改!
*applications/ircmessage/modules/get_messages.py in /home/web2py/src/web2py at 2012-10-18 16:50:00.061575/ircmessage/modules/addline.py in /home/web2py/src/web2py at 2012-10-18 16:50:00.062092
2