Created
June 17, 2011 07:30
-
-
Save lxneng/1031014 to your computer and use it in GitHub Desktop.
Exception: `curl-config' not found -- please install the libcurl development files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(env)~/env pip install pycurl | |
Downloading/unpacking pycurl | |
Downloading pycurl-7.19.0.tar.gz (71Kb): 71Kb downloaded | |
Running setup.py egg_info for package pycurl | |
sh: curl-config: not found | |
Traceback (most recent call last): | |
File "<string>", line 14, in <module> | |
File "/home/eric/env/build/pycurl/setup.py", line 90, in <module> | |
raise Exception, ("`%s' not found -- please install the libcurl development files" % CURL_CONFIG) | |
Exception: `curl-config' not found -- please install the libcurl development files | |
Complete output from command python setup.py egg_info: | |
sh: curl-config: not found | |
Traceback (most recent call last): | |
File "<string>", line 14, in <module> | |
File "/home/eric/env/build/pycurl/setup.py", line 90, in <module> | |
raise Exception, ("`%s' not found -- please install the libcurl development files" % CURL_CONFIG) | |
Exception: `curl-config' not found -- please install the libcurl development files | |
---------------------------------------- | |
Command python setup.py egg_info failed with error code 1 | |
Storing complete log in /home/eric/.pip/pip.log | |
(env)~/env apt-cache depends python-pycurl | |
python-pycurl | |
Depends: libc6 | |
Depends: libcurl3-gnutls | |
Depends: libgcrypt11 | |
Depends: libgnutls26 | |
Depends: libgssapi-krb5-2 | |
Depends: libidn11 | |
Depends: libldap-2.4-2 | |
Depends: zlib1g | |
Depends: python | |
Depends: python | |
Depends: python-support | |
Suggests: libcurl4-gnutls-dev | |
Suggests: python-pycurl-dbg | |
Conflicts: <python2.3-pycurl> | |
Conflicts: <python2.4-pycurl> | |
Replaces: <python2.3-pycurl> | |
Replaces: <python2.4-pycurl> | |
(env)~/env | |
(env)~/env sudo apt-get install libcurl4-gnutls-dev | |
then ``pip install pycurl`` | |
for my CentOS 7, work for me using:
yum -y install python36-devel
+1. Thanks!
how to install the libcurl4-gnutls-dev using pip3, as alpine is being used in the dockerfile
How can I download "sudo apt-get install libmysqlclient-dev libcurl4-gnutls-dev" in python 3+ on windows ???
for my CentOS 7, work for me using:
yum -y install python36-devel
That worked too on my end. Thank you very much, You're my saviour.
On CentOS, you have to run: yum install libcurl-devel
That worked too on my end. Thank you very much, You're my saviour.
It worked! Thanks
thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo apt-get install libpython3.6-dev
worked for me