Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

项目启动报错 ImportError: cannot import name 'ContextVar' #971

Open
Bill-zzy opened this issue May 19, 2021 · 4 comments
Open

项目启动报错 ImportError: cannot import name 'ContextVar' #971

Bill-zzy opened this issue May 19, 2021 · 4 comments

Comments

@Bill-zzy
Copy link

Bill-zzy commented May 19, 2021

image
使用 Python3.6.8版本

修改了wsgidav版本
修改了werkzeug版本
也改过
'http_authenticator': {
'HTTPAuthenticator':NeedAuthController(app),
},
启动pyspider依然报这个错,麻烦帮我看看是什么问题呢?

还有就是,使用python -m pip install werkzeug==0.16.0 安装werkzeug时报错

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

flask 2.0.0 requires Werkzeug>=2.0, but you have werkzeug 0.16.0 which is incompatible.

@lifelikeaboat
Copy link

不能装flask 2.0.0 安装flask==1.0.2 然后再重装werkzeug

@bushnerd
Copy link

不能装flask 2.0.0 安装flask==1.0.2 然后再重装werkzeug

成功!

@1273082756
Copy link

成功, 好人一生平安

1 similar comment
@1273082756
Copy link

成功, 好人一生平安

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants