pyspider icon indicating copy to clipboard operation
pyspider copied to clipboard

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

Open Bill-zzy opened this issue 4 years ago • 4 comments

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.

Bill-zzy avatar May 19 '21 09:05 Bill-zzy

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

lifelikeaboat avatar May 26 '21 11:05 lifelikeaboat

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

成功!

bushnerd avatar Jun 24 '21 03:06 bushnerd

成功, 好人一生平安

1273082756 avatar Oct 26 '21 03:10 1273082756

成功, 好人一生平安

1273082756 avatar Oct 26 '21 03:10 1273082756