Entradas

Mostrando entradas de mayo, 2016

Error: Command python setup.py egg_info failed with error code 1 in /root/build/tweepy

Al instalar la libreria tweepy: pip install tweepy Aparece los siguentes datos: Downloading/unpacking tweepy Downloading tweepy-3.5.0.tar.gz Running setup.py egg_info for package tweepy Traceback (most recent call last): File "<string>", line 16, in <module> File "/tmp/pip_build_root/tweepy/setup.py", line 17, in <module> install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) TypeError: parse_requirements() got an unexpected keyword argument 'session' Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 16, in <module> File "/tmp/pip_build_root/tweepy/setup.py", line 17, in <module> install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) TypeError: parse_requirements() got an unexpected keyword argument 'session' ---------

Error: Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages

Al intentar ejecutar: pip install --upgrade setuptools Se presenta el siguiente error: Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages SOLUCION: 1.- Descargar ez_setup.py ( https://bitbucket.org/pypa/setuptools/downloads/ez_setup.py ) 2.- Ejecutar: python ez_setup.py  3.- Finalmente volver a ejecutar: pip install --upgrade setuptools Post original: https://github.com/pypa/pip/issues/1064