Installez Python 3 sur CentOS 7

Installez Python 3

--Vérifiez la version actuelle

$ python --version
Python 2.7.5
yum install -y https://repo.ius.io/ius-release-el7.rpm
yum search python36
==========
=============================================== N/S matched: python36 ===============================================
python36-cairo-devel.x86_64 : Libraries and headers for python36-cairo
python36-greenlet-devel.x86_64 : C development headers for python36-greenlet
python36-psycopg2-tests.x86_64 : Test suite for python36-psycopg2
boost-python36.x86_64 : Shared object symbolic links for Boost.Python 3
boost-python36-devel.x86_64 : Shared object symbolic links for Boost.Python 3
boost-python36-static.x86_64 : The Python3 Boost C++ static development libraries
libpeas-loader-python36.x86_64 : Python 36 loader for libpeas
python36.x86_64 : Interpreter of the Python programming language
python36-Cython.x86_64 : A language for writing Python 3.6 extension modules
python36-GitPython.noarch : Python3 Git Library
python36-HepMC3.x86_64 : HepMC3 Python 3 bindings
python36-HepMC3-rootIO.x86_64 : HepMC3 ROOT I/O module Python 3 bindings
python36-HepMC3-search.x86_64 : HepMC3 search module Python 3 bindings
python36-PyMySQL.noarch : Pure-Python MySQL client library
python36-PyYAML.x86_64 : YAML parser and emitter for Python 3.6
python36-SecretStorage.noarch : Python 3.x module for secure storing of passwords and secrets
python36-abimap.noarch : A helper for library maintainers to use symbol versioning
python36-aiosmtpd.noarch : Asyncio-based SMTP server
==========

Diverses choses sont sorties, mais installez les packages nécessaires

yum install python36u python36u-libs python36u-devel python36u-pip
$ python --version
Python 2.7.5

$ pip --version
pip 20.2.2 from /usr/lib/python2.7/site-packages/pip (python 2.7)

$ python3.6  --version
Python 3.6.8

$ pip3 --version
pip 20.2.2 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)

python3.6 est inclus.

Recommended Posts

Installez Python 3 sur CentOS 7
Installez Golang sur CentOS 8
Installez Neo4j 4.1.3 sur centOS
Installez PostgreSQL 12 sur Centos8
Installez kuromoji sur CentOS7
Installez PostGIS 2.5.5 sur CentOS7
Installez jpndistrict sur CentOS 7
Installez Redmine 4.1.1 sur CentOS 7
Installation de Smokeping sur CentOS7
Installez PostgreSQL 13 sur CentOS 7.5
Installez Jenkins sur CentOS de Docker
Installez Apache sur CentOS sur VirtualBox
Installez Ruby 2.7 sur CentOS 7 (SCL)
Installez Ruby 2.5 sur CentOS 7 en utilisant SCL
Installation de Java Open JDK 8 sur CentOS 7
Comment installer MariaDB 10.4 sur CentOS 8
Installez apache 2.4.46 à partir des sources sur CentOS 7
Étapes pour installer devtoolset-6 sur CentOS 7
Installez Java 9 sur Windows 10 et CentOS 7
Installez MariaDB (CentOS 8)
[CentOS] Installez apache-loggen
Installez samba4 à partir du code source sur CentOS8
Installez le client de messagerie Web Rainloop sur CentOS 8
Installez CentOS 7 sur Raspberry pi 4 modèle B
Installez NextCloud sur CentOS 7 avec Alibaba Cloud ECS
Installez Gradle sur Mac
Commande pour installer nginx / PHP7 / php-fpm sur CentOS7
Installez Corretto 8 sur Windows
Tutoriel Maven sur CentOS 7
Installez OpenJDK sur macOS
Installez Java sur Mac
Installation de Docker sur CentOS 6
Utiliser perltidy sur CentOS 8
Essayez OpenLiteSpeed sur CentOS8
mémo python sur docker
Tomcat v8 sur CentOS7
[CentOS7] Installez aws cli
Installez Docker sur Manjaro
Installation de Zabbix 5 sur CentOS 8
Installez Ruby sur Ubuntu 20.04
Utilisez mod_auth_cas sur CentOS 8
Installez lombok sur SpringToolSuite4
Jetty v8 sur CentOS7
Installation d'OpenJDK sur CentOS7
[CentOS7] Installez aws cli quelle que soit la version de python
Installez openjdk11 sur Mac
Installez OpenJDK 8 sur mac
Installer le wiki de documentation BookStack sur Elastic Compute Service sur CentOS 7
Installez le dernier pilote matériel d'ELRepo sur CentOS
Installez MySQL 5.6 sur CentOS6 [Comment spécifier la version]
Installez ag (le chercheur d'argent) [sur CentOS / Ubuntu / Mac]