#cannot install flask

1 messages · Page 1 of 1 (latest)

calm slate
#

!pip install flask --force
ERROR: Cannot uninstall 'blinker'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

short nimbusBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

calm slate
#

So many errors, seem almost impossible to make flask work on this platform

#

and support does not answer

#

Just one answer and after that they ignore me

#

Seem like this template is full of bugs

#

such as: ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.10/dist-packages/werkzeug/urls.py)

runic tendon
#

Create a venv

calm slate
#

I tried but I get an error.

#

Also i tried to follow this guide, but the fields described there do not exist

hallow kite
hallow kite
calm slate
#

Just this error with the latest flask:

#

!pip install flask --force
ERROR: Cannot uninstall 'blinker'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

#

When i try to install other versions, for example !pip install flask==2.2.5 it works but then it cannot import probably because some of requirements have wrong versions. I did try to fix error by installing packages that reported errors but still does not work.

#
I just use flask for inference
#

for other things runpod works for me

hallow kite
#

Have you tried to use a venv?

calm slate
#

I am trying now

calm slate
#

I did try, it installs flask but it does not run notebooks via venv

#

so flask still does not work

calm slate
#

No, installed ok

#

But it useless

hallow kite
#

I'll see if I can get another team member who is more familar with this issue to assist you, sorry for the trouble!

calm slate
#

I will try to run via line

#

no problem thanks

#

via line works, so maybe solved

hallow kite