python升级后,pip不好用了。然后打算用升级后的python重装pip 结果报错,求助!

[root@iZ5qb441i7rtx5Z pip-8.1.2]# /usr/local/python27/bin/python setup.py install
Traceback (most recent call last):
File "setup.py", line 6, in
from setuptools import setup, find_packages
ImportError: No module named setuptools

https://www.zhihu.com/question/38990967?sort=created

http://blog.sina.com.cn/s/blog_3fe961ae0100zgav.html

就是你的环境没有setuptools,所以需要xiananzhsetuptools!然后才可以通过它来安装其他的setup.psetup.py

TFcjjchhjkkkjgfyuTdghydg

https://www.zhihu.com/question/38990967?sort=created 这里有讲的