lnsider 1 Posted July 10, 2015 Share Posted July 10, 2015 Hi all, I´m trying to install pyCurl with command as root pip install pycurl after 10 seconds, console show me this error: (venv)root@cubox-i:~/pyCA# pip install pycurl Collecting pycurl Using cached pycurl-7.19.5.1.tar.gz Installing collected packages: pycurl Running setup.py install for pycurl Complete output from command /root/pyCA/venv/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-yYNrnD/pycurl/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-3uzAV0-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/pyCA/venv/include/site/python2.7/pycurl: Using curl-config (libcurl 7.38.0) running install running build running build_py creating build creating build/lib.linux-armv7l-2.7 creating build/lib.linux-armv7l-2.7/curl copying python/curl/__init__.py -> build/lib.linux-armv7l-2.7/curl running build_ext building 'pycurl' extension creating build/temp.linux-armv7l-2.7 creating build/temp.linux-armv7l-2.7/src arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPYCURL_VERSION="7.19.5.1" -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.7 -c src/docstrings.c -o build/temp.linux-armv7l-2.7/src/docstrings.o In file included from src/docstrings.c:4:0: src/pycurl.h:148:30: fatal error: gnutls/gnutls.h: No such file or directory # include <gnutls/gnutls.h> ^ compilation terminated. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 ---------------------------------------- Command "/root/pyCA/venv/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-yYNrnD/pycurl/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-3uzAV0-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/pyCA/venv/include/site/python2.7/pycurl" failed with error code 1 in /tmp/pip-build-yYNrnD/pycurl When Im trying to install arm-linux-gnueabihf-gcc, with apt-get install ..... this package will not be founded. Hope for help. 0 Quote Link to post Share on other sites More sharing options...
tkaiser 1642 Posted July 13, 2015 Share Posted July 13, 2015 src/pycurl.h:148:30: fatal error: gnutls/gnutls.h: No such file or directory So it seems, GNUTLS development stuff is missing. Did you try to install libcurl4-gnutls-dev already? Or try apt-cache search gnutls | grep dev and install the packages listed one by one. 1 Quote Link to post Share on other sites More sharing options...
TheOWL 1 Posted February 14, 2020 Share Posted February 14, 2020 @tkaiser Thanks for your answer , you help me a lot ! 0 Quote Link to post Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.