ModuleNotFoundError: No module named 'werkzeug.contrib' (ODOO 12)
ModuleNotFoundError: No module named 'werkzeug.contrib' (ODOO 12)
我有这个错误运行odoo-log,我正确安装了odoo 12,还有postgresql。
"C:\Program Files (x86)\Odoo 12.0\python\python.exe" "C:/Program Files (x86)/Odoo 12.0/server/odoo-bin"
Traceback (most recent call last):
File "C:/Program Files (x86)/Odoo 12.0/server/odoo-bin", line 5, in <module>
import odoo
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\__init__.py", line 129, in <module>
from . import service
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\service\__init__.py", line 7, in <module>
from . import wsgi_server
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\service\wsgi_server.py", line 25, in <module>
import werkzeug.contrib.fixers
ModuleNotFoundError: No module named 'werkzeug.contrib'
Process finished with exit code 1
这是配置:
请帮助,我几乎尝试了所有方法但没有结果
Werkzeug 安装的 new/current 版本 1.0.0 似乎有些问题
试试这些命令:
pip3 uninstall Werkzeug # will uninstall earlier version
pip3 install Werkzeug==0.11.15 # check the requirements.txt and installed that version
否则,您可以使用 cachelib 作为替代品。
我有这个错误运行odoo-log,我正确安装了odoo 12,还有postgresql。
"C:\Program Files (x86)\Odoo 12.0\python\python.exe" "C:/Program Files (x86)/Odoo 12.0/server/odoo-bin"
Traceback (most recent call last):
File "C:/Program Files (x86)/Odoo 12.0/server/odoo-bin", line 5, in <module>
import odoo
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\__init__.py", line 129, in <module>
from . import service
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\service\__init__.py", line 7, in <module>
from . import wsgi_server
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\service\wsgi_server.py", line 25, in <module>
import werkzeug.contrib.fixers
ModuleNotFoundError: No module named 'werkzeug.contrib'
Process finished with exit code 1
这是配置:
Werkzeug 安装的 new/current 版本 1.0.0 似乎有些问题
试试这些命令:
pip3 uninstall Werkzeug # will uninstall earlier version
pip3 install Werkzeug==0.11.15 # check the requirements.txt and installed that version
否则,您可以使用 cachelib 作为替代品。