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

 

Copyright © 2024 血染&征袍
Powered by .NET 9.0 on Kubernetes