问题一:async关键字问题
将site-packages下pyspider下的
(1)fetcher/tornado_fetcher.py
(2)run.py
(3)weibu/app.py
三项中的async全部替换成mark_async,mark_是自己随便起的名
问题二:出现下面问题,因为没有安装phantomjs
d:\program files\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)
[I 190409 20:28:52 result_worker:49] result_worker starting...
安装phantomjs
在官网上不能下载,在phantomjs上下载的
并且将phantomjs.exe放在python.exe同一文件目录下