本文主要是介绍Mac下安装pyspider报了Command python setup.py egg_info failed with error code 1 in /private/var/folders/,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
复制以下代码到终端执行:
pip3 uninstall pycurlexport PYCURL_SSL_LIBRARY=openssl export LDFLAGS=-L/usr/local/opt/openssl/lib export CPPFLAGS=-I/usr/local/opt/openssl/includepip3 install pycurl --compile --no-cache-dir
再执行pip3 install pyspider就OK了
这篇关于Mac下安装pyspider报了Command python setup.py egg_info failed with error code 1 in /private/var/folders/的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!