(service-api)[root@all-in-one ]# .tox/py27/bin/pip install pycurl==7.19.0
Collecting pycurl==7.19.0
Using cached https://files.pythonhosted.org/packages/11/73/abcfbbb6e1dd7087fa53042c301c056c11264e8a737a4688f834162d731e/pycurl-7.19.0.tar.gz
Complete output from command python setup.py egg_info:
sh: curl-config: command not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-B1kErw/pycurl/setup.py", line 90, in <module>
raise Exception, ("`%s' not found -- please install the libcurl development files" % CURL_CONFIG)
Exception: `curl-config' not found -- please install the libcurl development files
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-B1kErw/pycurl/
解决方法
yum install libcurl-devel