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

安装pyspider-“python setup.py egg_info”失败,错误代码为1,python,linux,pip,debian,chromebook,Python,Linux,Pip,Debian,Chromebook,我正在尝试在Debian GNU/Linux 9上安装pyspider。尝试使用pip和pip3安装,检查了libevent-dev、libpython-dev、python-dev、distribute、ez_-setup,我仍然从pip/pip3-install-pyspider收到以下消息: Command "python setup.py egg_info" failed with error code 1 in tmp/pip-build-<randomcharacters>

我正在尝试在Debian GNU/Linux 9上安装pyspider。尝试使用pip和pip3安装,检查了libevent-dev、libpython-dev、python-dev、distribute、ez_-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'
apt install libcurl4 libcurl4-openssl-dev