安装pyspider“python设置.py“egg\u info”失败,错误代码为1

2024-04-27 17:14:10 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试在Debian GNU/Linux 9上安装pyspider。尝试使用pip和pip3安装,检查了libevent dev、libpython dev、python dev、distribute、ez\u setup,我仍然从pip/pip3 install pyspider收到以下消息:

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

在错误信息的正上方,写着:

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

有什么想法吗?你知道吗


Tags: installpipdevgnuconfiglinuxsetuppip3