Open wackazong opened 2 years ago
Seems that werkzeug 2.0.3 is the latest version that works. 2.1.0 produces the error.
RUN pip uninstall Werkzeug && pip install Werkzeug==2.0.0
This is a working list of packages, the latest Flask
(2.2.2) is also incompatible with this downgraded version of werkzeug
:
# python -m pip list
Package Version
-------------- -----------
blinker 1.5
click 8.1.3
Flask 2.1.3
future 0.18.2
gevent 22.10.2
greenlet 2.0.0.post0
itsdangerous 2.1.2
Jinja2 3.1.2
MarkupSafe 2.1.1
msgpack 1.0.4
multivisor 6.0.1
pip 22.3
pyzmq 24.0.1
setuptools 65.5.0
six 1.16.0
supervisor 4.2.4
Werkzeug 2.0.3
wheel 0.37.1
zerorpc 0.6.3
zope.event 4.5.0
zope.interface 5.5.1
I use a Dockerfile to set up a Docker container for multivisor. I install it on a Python 3.8 image as such:
But in the Docker logs I can see
ImportError: cannot import name 'run_with_reloader' from 'werkzeug.serving' (/usr/local/lib/python3.8/site-packages/werkzeug/serving.py)
Please advise.