Como instalar o python-setuptools corretamente no Ubuntu 14.04

3
ivan@MS-7640:~$ python -V
Python 2.7.10


sudo apt-get install python-setuptools
[sudo] password for ivan: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-setuptools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


mas recebo esta mensagem de erro:

Checking python module: setuptools ... 
 setuptools  is not installed, Please install it first.

On Debian/Ubntu: apt-get install python-setuptools
On CentOS/RHEL: yum install python-distribute


Error occured during setup. 
Please fix possible problems and run the script again.

Como consertar isso?

    
por Ivan 20.07.2015 / 15:02

1 resposta

2

Execute este comando:

sudo pip install -U setuptools

Este comando instala a dependência necessária.

    
por Wellington1993 24.10.2017 / 04:29