mac安装pyspider报错

(env)$ pip3 uninstall pycurl
(env)$ pip3 install --upgrade pip
(env)$ export LDFLAGS=-L/usr/local/opt/openssl/lib
(env)$ export CPPFLAGS=-I/usr/local/opt/openssl/include
(env)$ export PYCURL_SSL_LIBRARY=openssl
(env)$ pip3 install pycurl
posted @ 2018-11-08 22:09  公众号python学习开发  阅读(446)  评论(0编辑  收藏  举报