使用sae-python-dev本地运行web.py项目出现module object has no attribute InteractiveInterpreter

来源:互联网 发布:玉溪鑫科软件 编辑:程序博客网 时间:2024/06/10 23:19

原因是代码模块命名为了“code.py",而恰好sae-python-dev项目里面的werkzeug组件里面有code.InteractiveInterpreter的引用,两者冲突了。

解决方法:重命名"code.py"为其他名字即可。


0 0