Python is on version 2.7.3, but when i try to upgrade python through "pip" i get this:
$ 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.
Changing a system python version is a bad idea. To install an additional python version system-wide you could use your system package manager such as apt-get
.
To manage personal python installations you could use pythonz
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.