简体   繁体   English

安装 pyspider -“python setup.py egg_info”失败,错误代码为 1

[英]Installing pyspider - "python setup.py egg_info" failed with error code 1

I'm trying to install pyspider on Debian GNU/Linux 9. Tried installing with pip and pip3, checked libevent-dev, libpython-dev, python-dev, distribute, ez_setup, and I still get the following message from pip/pip3 install pyspider:我正在尝试在 Debian GNU/Linux 9 上安装 pyspider。尝试使用 pip 和 pip3 安装,检查了 libevent-dev、libpython-dev、python-dev、distribute、ez_setup,我仍然从 pip/pip3 install 收到以下消息蜘蛛:

Command "python setup.py egg_info" failed with error code 1 in tmp/pip-build-<randomcharacters>/pycurl/

Right above that error message, it says this:在该错误消息的正上方,它说:

__main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config'

Any ideas?有任何想法吗?

pyspider requires pycurl which in turn requires libcurl . pyspider 需要pycurl ,而后者又需要libcurl So install libcurl first:所以先安装libcurl

apt install libcurl4 libcurl4-openssl-dev

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 python setup.py egg_info“失败,错误代码 - python setup.py egg_info" failed with error code Python:setup.py egg_info 失败,错误代码为 1 - Python: setup.py egg_info failed with error code 1 python setup.py egg_info失败,错误代码为1 - python setup.py egg_info failed with error code 1 python setup.py egg_info&quot; 失败,错误代码为 1 - python setup.py egg_info" failed with error code 1 python setup.py egg_info失败,错误代码为1 - python setup.py egg_info failed with error code 1 在python Annoconda“python setup.py egg_info”中安装模块失败,错误代码为1 - Installing module in python Annoconda “python setup.py egg_info” failed with error code 1 &quot;pip install matplotlib&quot;:&quot;&quot;python setup.py egg_info&quot; failed with error code 1&quot; 安装 matplotlib 时 - "pip install matplotlib":"“python setup.py egg_info” failed with error code 1" while installing matplotlib 安装 lshash 时“python setup.py egg_info”失败,错误代码为 1 - "python setup.py egg_info" failed with error code 1 when installing lshash 错误:“python setup.py egg_info”安装 osmnx 失败,错误代码为 1” - Error: "python setup.py egg_info" failed with error code 1" for installing osmnx 使用pip安装pygame:命令“python setup.py egg_info”失败,错误代码为1 - Installing pygame with pip: Command “python setup.py egg_info” failed with error code 1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM