Mis à jour vers Python 2.7.9

$ sudo wget https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz
$ tar zxvf Python-2.7.9.tgz
$ cd Python-2.7.9/

$ ./configure --with-threads --enable-shared
$ make
$ sudo make install

###Vérification
$ python -V

###Vous pouvez obtenir l'erreur suivante.
# python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
#Mettre un lien
$ sudo ln -s /usr/local/lib/libpython2.7.so.1.0 /lib64/

#Revérifier
$ python -V
Python 2.7.9

Recommended Posts

Mis à jour vers Python 2.7.9
Anaconda mis à jour de 4.2.0 à 4.3.0 (python3.5 mis à jour vers python3.6)
"Backport" vers python 2
Manuel Python privé (mis à jour de temps en temps)
Comment installer Python
Changements de Python 3.0 à Python 3.5
Changements de Python 2 à Python 3.0
Réécrire le code Python2 en Python3 (2to3)
Comment installer python
Introduction au langage Python
Introduction à OpenCV (python) - (2)
Remarque pour faire de python un démon
Introduction de Python 2.7 à CentOS 6.6
Connectez python à mysql
Mise à jour de Hospital_dashboard vers la version 2.0
mémo d'apprentissage progate Python (mis à jour de temps en temps)
[2020.8 dernière] Comment installer Python
[python] Convertir la date en chaîne
Publier de Python vers Slack
Comment installer Python [Windows]
publier sur vim → Python → Slack
Introduction à Python Django (2) Win
Pour vider stdout en Python
Convertir numpy int64 en python int
python3: Comment utiliser la bouteille (2)
[Python] Convertir la liste en Pandas [Pandas]
Flirter de PHP à Python
Une route vers Python intermédiaire
Python
Essayez de comprendre Python soi
Notes Python à oublier bientôt
[Python] Comment utiliser la liste 1
Connectez-vous au site Web en Python
Connectez-vous à Wikipedia avec Python
Comment mettre à jour Tkinter de Python vers la version 8.6
Publiez sur Slack avec Python 3
Publier sur Twitter en utilisant Python
Comment utiliser Python Argparse
Commencez à Selenium en utilisant python
Introduction à la communication série [Python]
Mettez à jour le python que vous aviez sur votre Mac à 3.7-> 3.8
3 raisons pour lesquelles les débutants en programmation devraient commencer avec Python
Convertir le projet Scratch en Python
[Python] Convertir Shift_JIS en UTF-8
Python: comment utiliser pydub
[Python] Comment utiliser checkio
Passer de python2.7 à python3.6 (centos7)
Comment exécuter Notepad ++ Python
Parler avec Python [synthèse vocale]
[Python] Une autre façon d'importer
Connectez-vous à sqlite depuis python
Basculer python vers 2.7 avec des alternatives
Écrire en csv avec Python
[Introduction à Python] <liste> [modifier le 22/02/2020]
Introduction à Python (version Python APG4b)
Comment changer la version de Python
Une introduction à la programmation Python
Comment développer en Python