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'

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/tweepy
Storing complete log in /root/.pip/pip.log

SOLUCIÓN:

1.- Ejecuta:
 
sudo pip install --upgrade pip
 
 
2.- Ejecuta de nuevo:

sudo pip install tweepy

Post Original: https://github.com/tweepy/tweepy/issues/564

Comentarios

Entradas populares de este blog

Cómo configurar Node.js y Npm detrás de un proxy web corporativo

Repositorios oficiales - Debian 9

Recuperar o restablecer la clave de administrador en OSTicket