1.用easy_install安装的时候
[[email protected] ~]# easy_install pycurl Searching for pycurl Best match: pycurl 7.19.0 Adding pycurl 7.19.0 to easy-install.pth file Using /usr/lib64/python2.7/site-packages Processing dependencies for pycurl Finished processing dependencies for pycurl
2.用pip安装的时候(由于已经安装完成所以只摘取了一些错误)
__main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory
解决办法:
[[email protected] ~]# yum install libcurl-devel
时间: 2024-11-09 02:03:36