安装pycurl时出现“无法运行curl-config:[Errno 2]没有这样的文件或目录”
我正在尝试通过以下方式安装pycurl: sudo pip install pycurl 它下载得很好,但是当它运行setup.py时,我得到以下回溯: Downloading/unpacking pycurl Running setup.py egg_info for package pycurl Traceback (most recent call last): File "<string>", line 16, in <module> File "/tmp/pip-build-root/pycurl/setup.py", line 563, in <module> ext = get_extension() File "/tmp/pip-build-root/pycurl/setup.py", line 368, in get_extension ext_config = ExtensionConfiguration() File "/tmp/pip-build-root/pycurl/setup.py", line 65, in __init__ self.configure() …