Collecting pycurl==7.43. (from -r requirement.txt (line ))
Downloading http://pypi.doubanio.com/packages/12/3f/557356b60d8e59a1cce62ffc07ecc03e4f8a202c86adae34d895826281fb/pycurl-7.43.0.tar.gz (182kB)
% |████████████████████████████████| 184kB .1MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line , in <module>
File "/tmp/pip-build-MQZQxq/pycurl/setup.py", line , in <module>
ext = get_extension(sys.argv, split_extension_source=split_extension_source)
File "/tmp/pip-build-MQZQxq/pycurl/setup.py", line , in get_extension
ext_config = ExtensionConfiguration(argv)
File "/tmp/pip-build-MQZQxq/pycurl/setup.py", line , in __init__
self.configure()
File "/tmp/pip-build-MQZQxq/pycurl/setup.py", line , in configure_unix
raise ConfigurationError(msg)
__main__.ConfigurationError: Could not run curl-config: [Errno ] No such file or directory ----------------------------------------
Command "python setup.py egg_info" failed with error code in /tmp/pip-build-MQZQxq/pycurl/
解决办法:
$ sudo apt-get install libcurl4-openssl-dev