项目启动报错 ImportError: cannot import name 'ContextVar'
Bill-zzy opened this issue · comments
Bill-zzy commented
修改了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 commented
不能装flask 2.0.0 安装flask==1.0.2 然后再重装werkzeug
bushnerd commented
不能装flask 2.0.0 安装flask==1.0.2 然后再重装werkzeug
成功!
Chen Lungang commented
成功, 好人一生平安
Chen Lungang commented
成功, 好人一生平安