J'ai un système d'exploitation Mac (El Capitan 10.11.3) et j'essaie d'installer la bibliothèque pycurl pour Python 2.6.9. Malheureusement, lorsque je tente:Installation de pycurl pour Python 2.6 sous Mac OS
easy_install pycurl
J'ai:
Searching for pycurl
Best match: pycurl 7.19.5.3
Processing pycurl-7.19.5.3-py2.7-macosx-10.11-intel.egg
pycurl 7.19.5.3 is already the active version in easy-install.pth
Mais il est pour Python 2.7 - pas 2.6.
Vérification de la version Python actuelle bash:
python -V
Python 2.6.9
J'ai aussi essayé de l'installer manuellement (télécharger .tar et installer)
sudo python setup.py install
Sortie:
Using curl-config (libcurl 7.43.0)
running install
running build
running build_py
running build_ext
running install_lib
running install_data
creating /System/Library/Frameworks/Python.framework/Versions/2.7/share
error: could not create '/System/Library/Frameworks/Python.framework/Versions/2.7/share': Operation not permitted
Le même pour:
make PYTHON=python2.6
Avez-vous une idée de la façon d'installer pycurl pour Python 2.6?
Quel est le problème? Il est déjà installé. ** pycurl 7.19.5.3 est déjà la version active ** –
Le problème c'est que c'est pour Python 2.7, pas 2.6. Python 2.6 ne voit toujours pas pycurl – Konrad
Comment le savez-vous? Votre 'python -V' montre la version 2.6 –