Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Interface does not start #88

Open
wackazong opened this issue Mar 29, 2022 · 3 comments
Open

Web Interface does not start #88

wackazong opened this issue Mar 29, 2022 · 3 comments

Comments

@wackazong
Copy link

I use a Dockerfile to set up a Docker container for multivisor. I install it on a Python 3.8 image as such:

FROM python:3.8
ENV PYTHONUNBUFFERED=1 \
    # prevents python creating .pyc files
    PYTHONDONTWRITEBYTECODE=1 \
    # pip
    PIP_NO_CACHE_DIR=off \
    PIP_DISABLE_PIP_VERSION_CHECK=on \
    PIP_DEFAULT_TIMEOUT=100 
RUN pip install multivisor[web]
ADD docker-images/multivisor/multivisor.conf /etc
CMD ["multivisor", "-c", "/etc/multivisor.conf"]

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.

@wackazong
Copy link
Author

Seems that werkzeug 2.0.3 is the latest version that works. 2.1.0 produces the error.

@exactstat
Copy link

exactstat commented Apr 8, 2022

RUN pip uninstall Werkzeug && pip install Werkzeug==2.0.0

@kratsg
Copy link

kratsg commented Nov 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants