@
binuxDebian 6系统,运行第二步时出错,还要做特别的环境配置吗?
pip install tornado pycurl u-msgpack-python jinja2 chardet requests
Downloading/unpacking u-msgpack-python
Downloading u-msgpack-python-2.0.tar.gz
Running
setup.py egg_info for package u-msgpack-python
Downloading/unpacking pycurl
Downloading pycurl-7.19.5.1.tar.gz (142Kb): 142Kb downloaded
Running
setup.py egg_info for package pycurl
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/build/pycurl/
setup.py", line 634, in <module>
ext = get_extension(split_extension_source=split_extension_source)
File "/build/pycurl/
setup.py", line 392, in get_extension
ext_config = ExtensionConfiguration()
File "/build/pycurl/
setup.py", line 65, in __init__
self.configure()
File "/build/pycurl/
setup.py", line 100, in configure_unix
raise ConfigurationError(msg)
__main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory
Complete output from command python
setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/build/pycurl/
setup.py", line 634, in <module>
ext = get_extension(split_extension_source=split_extension_source)
File "/build/pycurl/
setup.py", line 392, in get_extension
ext_config = ExtensionConfiguration()
File "/build/pycurl/
setup.py", line 65, in __init__
self.configure()
File "/build/pycurl/
setup.py", line 100, in configure_unix
raise ConfigurationError(msg)
__main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory
----------------------------------------
Command python
setup.py egg_info failed with error code 1
Storing complete log in /root/.pip/pip.log