【发布时间】:2016-09-13 20:26:08
【问题描述】:
VPS-server 是 Python 2.6 版本,我安装了 Python 3.5.2 版本。
当我尝试在pip 的帮助下安装一些软件包时,出现错误。
安装包期间:
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
版本:
# Python -V
# Python 3.5.2
# pip -V
# pip 8.1.2 from /usr/lib/python2.6/site-packages/pip-8.1.2-py2.6.egg (python 2.6)
# cat /etc/*-release
# CentOS release 6.8 (Final)
如何从 python 3.5 更改 pip 的路径?
【问题讨论】:
-
您尝试过:sudo pip3 install 吗?