pyspider
pyspider copied to clipboard
Command "python setup.py egg_info" failed with error code 1
When I install pyspider,the following error occurred.
Complete output from command python setup.py egg_info:
Using curl-config (libcurl 7.54.0)
Traceback (most recent call last):
File "
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-install-Ei7TZj/pycurl/
Online solutions are ineffective.
Please show me you environment
Maybe you can run: apt-get install libcurl4-openssl-dev and then have a try again.
I had to set the SSL library before installing (Mac OS 10.13.6 (17G65)).
export PYCURL_SSL_LIBRARY=openssl
export LDFLAGS=-L/usr/local/opt/openssl/lib
export CPPFLAGS=-I/usr/local/opt/openssl/include
Found answer here: https://stackoverflow.com/a/51959349/3035556.
xselect-code install
Solve it by (Mac os System) @SanderWind ths
You should install pycurl.
If you are in a Windows environment,You can download the corresponding version from the link below.
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurl