Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

No module named 'werkzeug.contrib'

Odoberať

Get notified when there's activity on this post

This question has been flagged
10 Replies
131267 Zobrazenia
Avatar
elkafil

error message when i try to start odoo 12 instance on ubuntu 18.04


-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'

0
Avatar
Zrušiť
Avatar
Darshan Patel
Best Answer


It seems there is 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 :

sudo pip3 uninstall Werkzeug (will uninstall earlier version, press 'y' to proceed uninstallation, if asked)
sudo pip3 install Werkzeug==0.11.15 (or check requirements.txt which is under your odoo version and install the version mentioned there.)

As on May 21, one could use now to newer version "sudo pip3 install Werkzeug==0.16.0"

Regards, Darshan!


10
Avatar
Zrušiť
Humanoide servicios para la pyme, S.L.N.E.

not working for me

Darshan Patel

Maybe you could try this with sudo to install a newer version

"sudo pip3 install Werkzeug==0.16.0"

Azharul Amin Mulla

worked for me

Antônio Sebastian

worked for me to install a newer version

Avatar
Latnok.Africa
Best Answer

@elkafil

No need more magic to solve ModuleNotFoundError: No module named 'werkzeug.contrib' as the error message says.

Please check out  your /odoo/requirement.txt  dependancy of werkzeug  ( 0.14.1 in my case),  then install it by :

$ cat /odoo/requirement.txt           and find down the version of werkzeug requirement, then
$ sudo pip3 install werkzeug==0.14.1


Hope this will help
2
Avatar
Zrušiť
Humanoide servicios para la pyme, S.L.N.E.

I have the same problem. This solution is not working for me.

Avatar
Enrique David HM
Best Answer

Anyone managed to solve it? I have the same problem.

1
Avatar
Zrušiť
Avatar
Dishan Madushanka
Best Answer

Hi Elkafil,

I am assuming, that the wrong version of Werkzeug was installed in the fist place. This usually happens, when you have 2 versions of python installed, and you use 'pip' for installing dependencies rather than using 'pip3'. Hope this helped!

0
Avatar
Zrušiť
elkafil
Autor

thanks

elkafil
Autor

i reinstall server and dependencies with pip3 only but same problem

Avatar
Temitope Joseph Shittu
Best Answer

I'm having same problem right now. This script has always worked for me until now. Who has a solution please? I have an urgent project I'm supposed to submit soonest


Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Traceback (most recent call last):
File "./odoo-bin", line 5, in <module>
import odoo
File "/opt/odoo/odoo/odoo/__init__.py", line 117, in <module>
from . import service
File "/opt/odoo/odoo/odoo/service/__init__.py", line 7, in <module>
from . import wsgi_server
File "/opt/odoo/odoo/odoo/service/wsgi_server.py", line 25, in <module>
import werkzeug.contrib.fixers
ModuleNotFoundError: No module named 'werkzeug.contrib'
root@ubuntu-s-1vcpu-1gb-nyc3-01:~#

0
Avatar
Zrušiť
Avatar
Diego Almonte
Best Answer

Hi,

I have the same problem, i'm installing a new server with Odoo with the same script thta I have used before many times, but since yesterday I've being having this same error and dont know what to do

0
Avatar
Zrušiť
Avatar
Lamia salem
Best Answer

i solved this by running these flowing commeds :

python3 -m pip uninstall werkzeug
python3 -m pip install werkzeug==0.16.0

NOTE: find werkzeug version in you requirmnet.txt



 

-1
Avatar
Zrušiť
Avatar
Jhe
Best Answer

My version is odoo11.  And since I install environment in ubuntu16.04. I also got this issue.

After tracing back errors, I got this error.

`Failed building wheel for pyldap`

And after I run this code.
`sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev`
and
`pip3 install -r requirements.txt`

Make sure your werkzeug version in requirements.txt is correct with official document.

then you can execute odoo.


-1
Avatar
Zrušiť
Avatar
elkafil
Autor Best Answer

i resolved my problem by using this script for my install 


sudo wget https://raw.githubusercontent.com/Yenthe666/InstallScript/12.0/odoo_install.sh
-1
Avatar
Zrušiť
Avatar
Ayman Al Atrash
Best Answer

Try 

pip3 install werkzeug==0.16.0
-1
Avatar
Zrušiť
Humanoide servicios para la pyme, S.L.N.E.

Not working for me

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now