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

ImportError: cannot import name 'BaseResponse' from 'werkzeug.wrappers' #440

Open
yevhenbulbakh opened this issue Apr 24, 2024 · 0 comments

Comments

@yevhenbulbakh
Copy link

Got this after executing play.sh (./play.sh command in terminal). Any ideas how to fix it?

Traceback (most recent call last):
File "aiserver.py", line 58, in
from utils import debounce
File "/home/yevhen/Desktop/vx/KoboldAI-Client/utils.py", line 183, in
from flask_socketio import emit
File "/home/yevhen/.local/lib/python3.8/site-packages/flask_socketio/init.py", line 18, in
import flask
File "/home/yevhen/.local/lib/python3.8/site-packages/flask/init.py", line 21, in
from .app import Flask
File "/home/yevhen/.local/lib/python3.8/site-packages/flask/app.py", line 32, in
from werkzeug.wrappers import BaseResponse
ImportError: cannot import name 'BaseResponse' from 'werkzeug.wrappers' (/home/yevhen/.local/lib/python3.8/site-packages/werkzeug/wrappers/init.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

No branches or pull requests

1 participant