camscape - for excellent IT solutions itkb.ro - IT knowledge base

linux :: python setuptools

David
David G.
TitlePython setuptools
Tagseasy_install,error,2.6,2.7,python
Desc.Python upgrade de la 2.6 la 2.7 nu mai functioneaza setuptools si nici easy_install
CodeKBLN0035 v1.0
Date18 februarie 2017

Dupa upgrade Python de la 2.6 la 2.7 , orice incercare de instalare cu easy_install va returna

 

ImportError: No module named pkg_resources

 

sau alte erori specifice. Trebuie reinstalat setuptools dar evident nu merge cu easy_install . Solutia:

 

wget https://bootstrap.pypa.io/ez_setup.py -O - | python