[英]Pip doesn't update to latest python version
Python is on version 2.7.3, but when i try to upgrade python through "pip" i get this: Python在2.7.3版上,但是当我尝试通过“ pip”升级python时,我得到了:
$ pip install --upgrade python
Requirement already up-to-date: python in /usr/lib64/python2.6/lib-dynload
Cleaning up...
any suggestions? 有什么建议么?
pip
installs python packages, not python itself. pip
安装python软件包,而不是python本身。
Changing a system python version is a bad idea. 更改系统python版本不是一个好主意。 To install an additional python version system-wide you could use your system package manager such as
apt-get
. 要在系统范围内安装其他python版本,可以使用系统软件包管理器,如
apt-get
。
To manage personal python installations you could use pythonz
. 要管理个人python安装,可以使用
pythonz
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.