pyspider运行报错:ImportError: pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend

pyspider运行报错

ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)

解决方法

pip uninstall pycurl
export PYCURL_SSL_LIBRARY=nss
pip install pycurl

再次运行pyspider

[root@localhost pyspider]# pyspider
[W 180228 03:46:30 run:413] phantomjs not found, continue running without it.
[I 180228 03:46:32 result_worker:49] result_worker starting...
[I 180228 03:46:33 tornado_fetcher:638] fetcher starting...
[I 180228 03:46:33 processor:211] processor starting...
[I 180228 03:46:33 scheduler:647] scheduler starting...
[I 180228 03:46:33 scheduler:782] scheduler.xmlrpc listening on 127.0.0.1:23333
[I 180228 03:46:33 app:76] webui running on 0.0.0.0:5000
[I 180228 03:46:33 scheduler:586] in 5m: new:0,success:0,retry:0,failed:0

访问 http://127.0.0.1:5000 可以看到pyspider的web管理界面了

pyspider Web管理界面

Post Comment