跳至内容
菜单
此问题已终结
3 回复
11416 查看

Fresh installed odoo 12 in ubuntu 18.04.4

I think have a problem for new update of ubuntu 18.04.4 before works fine

 -bash: cd: /oprt: No such file or directory
root@vmi340591:/opt/odoo/odoo/odoo# cd /opt
root@vmi340591:/opt# ./start.sh
root@vmi340591:/opt# Traceback (most recent call last):
File "/opt/odoo/odoo/odoo/odoo-bin", line 5, in <module>
import odoo
File "/opt/odoo/odoo/odoo/odoo/__init__.py", line 129, in <module>
from . import service
File "/opt/odoo/odoo/odoo/odoo/service/__init__.py", line 7, in <module>
from . import wsgi_server
File "/opt/odoo/odoo/odoo/odoo/service/wsgi_server.py", line 25, in <module>
import werkzeug.contrib.fixers
ModuleNotFoundError: No module named 'werkzeug.contrib'

形象
丢弃
编写者 最佳答案

Sir's, @Darshan and @Oscar,

Thank you for your reply, I already found the problem and because of the old command i used after I install the Node.js it also installed the python2 version..

Thank You

形象
丢弃
最佳答案

It seems some issue with the new/current version 1.0.0 of the Werkzeug installation on ubuntu 18.04

Try below command, it worked for me :

pip3 unistall Werkzeug (will uninstall earlier version)
pip3 install Werkzeug==0.11.15 (check the requirements.txt and installed that version)

Regards, Darshan!

形象
丢弃
最佳答案

It seems that you are installing/running Odoo with the wrong version of Python, are you sure you are running on Python 3.5+?

形象
丢弃
相关帖文 回复 查看 活动
0
4月 24
1008
2
1月 21
4575
2
4月 20
71721
0
12月 19
2676
0
11月 19
4086