ModuleNotFoundError: No module named ‘odoo.addons.web‘

2021-02-18 11:12:39,496 1232 ERROR ? odoo.service.server: Failed to load server-wide module `web`.
The `web` module is provided by the addons found in the `openerp-web` project.
Maybe you forgot to add those addons in your addons_path configuration. 
Traceback (most recent call last):
  File "D:\xxx\odoo\service\server.py", line 1127, in load_server_wide_modules
    odoo.modules.module.load_openerp_module(m)
  File "D:\xxx\odoo\modules\module.py", line 377, in load_openerp_module
    __import__('odoo.addons.' + module_name)
ModuleNotFoundError: No module named 'odoo.addons.web'
2021-02-18 11:12:39,523 1232 INFO ? odoo.service.server: HTTP service (werkzeug)

本以为是web文件出错了,结果不对,重新换了后也不成。

最终发现

addons_path = F:\xxx\odoo\addons,f:\xxx\addons,

这两处错误路径引起的,特此记录

你可能感兴趣的:(odoo错误分析,python)