安装pycurl时我得到了一个错误 - > Command" python setup.py egg_info" / tmp / pip-build-ZQIumo / pycurl /中的错误代码1失败

时间:2017-12-06 08:31:53

标签: python pycurl

安装pycurl时出现此错误:

Running setup.py (path:/tmp/pip-build-ZQIumo/pycurl/setup.py) egg_info for package pycurl
    Running command python setup.py egg_info
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-ZQIumo/pycurl/setup.py", line 823, in <module>
        ext = get_extension(sys.argv, split_extension_source=split_extension_source)
      File "/tmp/pip-build-ZQIumo/pycurl/setup.py", line 497, in get_extension
        ext_config = ExtensionConfiguration(argv)
      File "/tmp/pip-build-ZQIumo/pycurl/setup.py", line 71, in __init__
        self.configure()
      File "/tmp/pip-build-ZQIumo/pycurl/setup.py", line 107, in configure_unix
        raise ConfigurationError(msg)
    __main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory
Cleaning up...
**Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ZQIumo/pycurl/**
Exception information:

0 个答案:

没有答案