콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
14888 화면

Hello, community. My Odoo 14 service is crashing after being online and I'm getting this error: no module named werkzeug.posixemulation. Any clue?

아바타
취소
작성자

Excellent. Thanks for your comment.

베스트 답변

Hi,

Can you try bellow commands and see,

sudo pip3 uninstall Werkzeug
sudo pip3 install Werkzeug==0.11.15 
After installing the above package, restart odoo service.

Thanks

아바타
취소

I had the same problem with odoo v15. This fixed the problem

베스트 답변

Hi,

Please check your requirements.txt file and its version


then install your package from the settings 


Hope it helps

아바타
취소
베스트 답변

go and see requirement file they mentioned version of 

Werkzeug

so as per that version install it from terminal or got to settings > click on Project > Python Interpreter > click on + sign > search workzeug > iselect version in below > and install it 

pip3 install Werkzeug==version


아바타
취소
베스트 답변

Oddly enough the requirements.txt says this in the latest checkout of 14.0:

Werkzeug==0.16.1

So what breaks if you use this version? I mean we go back to 0.11... Why is Odoo going backwards? And why is the requirements.txt not up to date then?

EDIT: in my case I noticed after a while that I was running the system wide python3.8 binary and not the virtualenv python3.7 for which I had modified odoo-bin. After git stash pop to have the path set to my virtualenv python it worked again with 0.16.1.

Hope it helps someone else.

아바타
취소
관련 게시물 답글 화면 활동
2
8월 21
6720
2
7월 21
3738
1
11월 20
3960
0
4월 24
1030
0
12월 23
1925