运行pyspider时出现 : ImportError: cannot import name ‘ContextVar‘

运行pyspider常见的错误:
①ValueError: Invalid configuration: - Deprecated option ‘domaincontroller’: use ‘http_authenticator.domain_controller’ instead.
②ImportError: cannot import name ‘DispatcherMiddleware’
这里我就不写了,网上一搜还挺多的,就这个问题我在网上找了好长时间也没有找到解决方案。为了大家在遇到相同问题时能够少花点时间,我这里就把我的解决思路分享给大家参考。

这是我运行pyspider命令时出现的错误(我在解决上面提的两个错误后出现这个错误):

PS D:\python test\pyspider_text> pyspider
d:\software\python\python36\lib\site-packages\pyspider\libs\utils.py:196: FutureWarning: timeout is not supported on your platform.
  warnings.warn("timeout is not supported on your platform.", FutureWarning)
[W 210717 17:50:00 run:413] phantomjs not found, continue running without it.
[I 210717 17:50:02 result_worker:49] result_worker starting...
[I 210717 17:50:02 processor:211] processor starting...
[I 210717 17:50:02 scheduler:647] scheduler starting...
[I 210717 17:50:02 scheduler:586] in 5m: new:0,success:0,retry
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

别呀

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值