ModuleNotFoundError: No module named 'werkzeug' code example
Example 1: ModuleNotFoundError: No module named 'werkzeug.contrib'
pip3 uninstall Werkzeug #(will uninstall earlier version, press 'y' to proceed uninstallation, if asked)
pip3 install Werkzeug==0.11.15 #(or check requirements.txt which is under your odoo version and install the version mentioned there.)
Example 2: ModuleNotFoundError: No module named 'werkzeug'
ModuleNotFoundError: No module named 'werkzeug'