首页 新闻 会员 周边 捐助

odoo11 安装的相关问题

0
[已解决问题] 解决于 2018-03-22 16:47

2018-03-22 06:02:30,995 6744 INFO ? werkzeug: 127.0.0.1 - - [22/Mar/2018 06:02:30] "GET / HTTP/1.1" 500 -
2018-03-22 06:02:30,995 6744 ERROR ? werkzeug: Error on request:
Traceback (most recent call last):
  File "D:\GOdoo11\runtime\Python35\lib\site-packages\werkzeug\serving.py", line 209, in run_wsgi
    execute(self.server.app)
  File "D:\GOdoo11\runtime\Python35\lib\site-packages\werkzeug\serving.py", line 197, in execute
    application_iter = app(environ, start_response)
  File "D:\GOdoo11\source\odoo\service\server.py", line 254, in app
    return self.app(e, s)
  File "D:\GOdoo11\source\odoo\service\wsgi_server.py", line 166, in application
    return application_unproxied(environ, start_response)
  File "D:\GOdoo11\source\odoo\service\wsgi_server.py", line 154, in application_unproxied
    result = handler(environ, start_response)
  File "D:\GOdoo11\source\odoo\http.py", line 1297, in __call__
    self.load_addons()
  File "D:\GOdoo11\source\odoo\http.py", line 1319, in load_addons
    m = __import__('odoo.addons.' + module)
  File "D:\GOdoo11\source\odoo\modules\module.py", line 82, in load_module
    exec(open(modfile, 'rb').read(), new_mod.__dict__)
  File "<string>", line 2, in <module>
    
ImportError: No module named 'models'

生活不易23的主页 生活不易23 | 菜鸟二级 | 园豆:220
提问于:2018-03-22 14:19
< >
分享
最佳答案
0

参考 [Error] Odoo v11 ImportError: No module named 'models'
__init__.py 中将 import models 改为 from . import models

奖励园豆:5
dudu | 高人七级 |园豆:29568 | 2018-03-22 15:01

感谢你,

生活不易23 | 园豆:220 (菜鸟二级) | 2018-03-22 16:47
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册