Skip to content

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

@yevhenbulbakh

Description

@yevhenbulbakh

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions