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

I add Werkzeug to requirement.txt #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

9-8-7-6
Copy link

@9-8-7-6 9-8-7-6 commented Mar 7, 2024

I add Werkzeug to requirement.txt, or the main.py can't run because it would return the words below.


console(wrong)

Traceback (most recent call last):
File "/home/runner/ChatGPT-Line-Bot/main.py", line 2, in
from flask import Flask, request, abort
File "/home/runner/ChatGPT-Line-Bot/.pythonlibs/lib/python3.10/site-packages/flask/init.py", line 5, in
from .app import Flask as Flask
File "/home/runner/ChatGPT-Line-Bot/.pythonlibs/lib/python3.10/site-packages/flask/app.py", line 30, in
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/home/runner/ChatGPT-Line-Bot/.pythonlibs/lib/python3.10/site-packages/werkzeug/urls.py)


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

Successfully merging this pull request may close these issues.

1 participant