Fehler in der installation pycurl 7.19.0

Muss ich installieren für eine bestimmte version (7.19.0) pycurl.

Wenn ich versuche zu installieren mit diesem Befehl:

pip installieren pycurl==7.19.0

Bin ich diese Fehlermeldung.

Failed building wheel for pycurl   Running setup.py clean for pycurl Failed to build pycurl Installing collected packages: pycurl

..... // MULTIPLE LINES

 build/temp.linux-x86_64-2.7/src/pycurl.o: na função `initpycurl':
    /tmp/pip-build-4Q4V7Q/pycurl/src/pycurl.c:3904: referência indefinida para `PyEval_InitThreads'
    collect2: error: ld returned 1 exit status
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ---------------------------------------- Command "/home/user/.virtualenvs/myenv/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-4Q4V7Q/pycurl/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-UlYKto-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/user/.virtualenvs/myenv/include/site/python2.7/pycurl" failed with error code 1 in /tmp/pip-build-4Q4V7Q/pycurl/

Wie kann ich tun, um die Installation dieser version?

Ich bin mit Ubuntu-16.

Dank!

Können Sie versuchen sudo apt-get install python-dev ist, und wiederholen Sie die pip install?

InformationsquelleAutor Renato Cassino | 2016-06-07

Schreibe einen Kommentar