Re: [Python-es] problemas con la instalación de PIP como usuario
OK. Gracias. Googleando he encontrado varias veces que hay que descomentar la linea de zlib en el fichero src/PythonXY/Modules/Setup Reinstalando de nuevo, ya tengo zlib. $ python -c "import zlib; print zlib.__version__" 1.0 Ahora me da fallos con ssl. Pero ya sé por donde van los tiros. $ python get-pip.py --user pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting pip Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping Could not find a version that satisfies the requirement pip (from versions: ) No matching distribution found for pip Gracias, Jose 2017-03-10 14:35 GMT-05:00 Kiko: > necesitas instalar zlib y hacerlo accesible. > ___ > Python-es mailing list > Python-es@python.org > https://mail.python.org/mailman/listinfo/python-es ___ Python-es mailing list Python-es@python.org https://mail.python.org/mailman/listinfo/python-es
Re: [Python-es] problemas con la instalación de PIP como usuario
necesitas instalar zlib y hacerlo accesible. ___ Python-es mailing list Python-es@python.org https://mail.python.org/mailman/listinfo/python-es
[Python-es] problemas con la instalación de PIP como usuario
Hola, estoy intentando instalar python 2.7 y PIP sin privilegios de root. Pero estoy teniendo algunos problemas. $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) $ python --version Python 2.6.6 $ mkdir ~/src $ cd src $ wget wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz $ tar zxvf Python-2.7.13.tgz $ ./configure prefix=/home/jcaballero/ $ make install $ export PATH=/home/jcaballero/bin/:$PATH $ python --version Python 2.7.13 $ cd src $ wget https://bootstrap.pypa.io/get-pip.py $ python get-pip.py --user Traceback (most recent call last): File "get-pip.py", line 20061, in main() File "get-pip.py", line 194, in main bootstrap(tmpdir=tmpdir) File "get-pip.py", line 82, in bootstrap import pip zipimport.ZipImportError: can't decompress data; zlib not available Cualquier consejo o ayuda será más que bienvenido. Un saludo, Jose ___ Python-es mailing list Python-es@python.org https://mail.python.org/mailman/listinfo/python-es