You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/sosiska/ChatGPT-Discord-Bot/main.py", line 12, in<module>
from src.server import keep_alive
File "/home/sosiska/ChatGPT-Discord-Bot/src/server.py", line 2, in<module>
from flask import Flask
File "/home/sosiska/ChatGPT-Discord-Bot/venv/lib64/python3.9/site-packages/flask/__init__.py", line 5, in<module>
from .app import Flask as Flask
File "/home/sosiska/ChatGPT-Discord-Bot/venv/lib64/python3.9/site-packages/flask/app.py", line 30, in<module>
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/home/sosiska/ChatGPT-Discord-Bot/venv/lib64/python3.9/site-packages/werkzeug/urls.py)
Hello, default requirements give this error:
Added Werkzeug version to requirements:
Now it works :)
and in docker-cmopose its better to replace ports to 8080 cuz flask app uses 8080 and you dont configure it in .env:
The text was updated successfully, but these errors were encountered: