pyspider启动报错:TypeError: initialize() got an unexpected keyword argument ‘io_loop’

错误描述:1、pyspider是 0.39版本 

                2、 安装后运行  出现错误  TypeError: initialize() got an unexpected keyword argument ‘io_loop’

原因:python环境中,默认tornado版本是最新的5.0,在4.0之后就废弃了io_loop参数。

解决方法:

    1、pip uninstall tornado

    2、pip install tornado==4.1



猜你喜欢

转载自blog.csdn.net/u013123046/article/details/79921462
今日推荐