zoukankan      html  css  js  c++  java
  • ubuntu14.04安装pycurl报错: __main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory

    Collecting pycurl==7.43.0 (from -r requirement.txt (line 3))
      Downloading http://pypi.doubanio.com/packages/12/3f/557356b60d8e59a1cce62ffc07ecc03e4f8a202c86adae34d895826281fb/pycurl-7.43.0.tar.gz (182kB)
        100% |████████████████████████████████| 184kB 31.1MB/s 
        Complete output from command python setup.py egg_info:
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/tmp/pip-build-MQZQxq/pycurl/setup.py", line 823, in <module>
            ext = get_extension(sys.argv, split_extension_source=split_extension_source)
          File "/tmp/pip-build-MQZQxq/pycurl/setup.py", line 497, in get_extension
            ext_config = ExtensionConfiguration(argv)
          File "/tmp/pip-build-MQZQxq/pycurl/setup.py", line 71, in __init__
            self.configure()
          File "/tmp/pip-build-MQZQxq/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
        
        ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-MQZQxq/pycurl/

    解决办法:

    $ sudo apt-get install libcurl4-openssl-dev
  • 相关阅读:
    Linux(CentOS 7)搭建DHCP服务器实验
    Linux(CentOS 7)发布静态网站
    Linux(CentOS 7)搭建VSFTP服务器
    Linux(CentOS 7)搭建samba服务器搭建实验
    Linux(CentOS 7)软件的安装
    Linux(CentOS 7)服务于进程
    Linux磁盘配额
    Linux LVM逻辑卷管理
    Linux磁盘挂载
    Linux磁盘分区
  • 原文地址:https://www.cnblogs.com/xueranzp/p/5683681.html
Copyright © 2011-2022 走看看