Skip to content

failed to run catnip #413

@somboku

Description

@somboku

I ran into a following issue on a new installed debian 12.

First: I had to change to python 3.11 - thats ok

but then:
root@debianVM: docker run -p 8888:1111 somboku/catnip:latest
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.11/site-packages/werkzeug/urls.py)
cannot access '/usr/local/lib/python3.11/site-packages/': No such file or directory

root@debianVM: pip install --no-cache-dir -r requirements.txt
× This environment is externally managed

so I had to create a python3 -m venv python3 -m venv .venv and start the .env
but then its not accessable.

so this is not going to work as written at all.
You cant just start your image unless youre envirement fullfill the requirements.
I thought Docker does this for you, so you dont have to care

If I am wrong please delete this "issue"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdependenciesPull requests that update a dependency filepythonPull requests that update Python codequestion

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions