Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
11460 Lượt xem

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'

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 24
1028
2
thg 1 21
4608
2
thg 4 20
71794
0
thg 12 19
2691
0
thg 11 19
4107