通常是Setuptools安装出错,下载以下ez_setup.py文件后,先执行:ez_setup.py -U setuptools 重新安装setuptools 通过此ez_setup.py pip重新安装. #!python """Bootstrap setuptools installation If you want to use setuptools in your package's setup.py, just include this file in the…
centos 默认安装的python是2.6版本的 使用virtualenv 环境管理工具建立python虚拟环境的时候会遇到一些错误,DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6 好像是python2.6 官方不在支持 virtu…
把python2升级到python3之后,利用pip安装django1.9.7时报错: DistributionNotFound: The 'pip==7.1.0' distribution was not found and is required by the application查看Pip的版本时也报类似的错误,明明安装python3时,自动给安装了pip-7.1.2,但是默认启动的是pip7.1.0.还是卸载了现有的pip,重新安装最近的pip8.1.2. 下面开始实践步骤了: 1.…