Installieren Sie Python 3 unter CentOS 7

Installieren Sie Python 3

--Überprüfen Sie die aktuelle Version

$ python --version
Python 2.7.5
yum install -y https://repo.ius.io/ius-release-el7.rpm

--Suche nach Paketen

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
==========

Es kamen verschiedene Dinge heraus, aber installieren Sie die erforderlichen Pakete

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 ist enthalten.

Recommended Posts

Installieren Sie Python 3 unter CentOS 7
Installieren Sie Golang unter CentOS 8
Installieren Sie Neo4j 4.1.3 unter centOS
Installieren Sie PostgreSQL 12 auf Centos8
Installieren Sie kuromoji unter CentOS7
Installieren Sie PostGIS 2.5.5 unter CentOS7
Installieren Sie jpndistrict unter CentOS 7
Installieren Sie Redmine 4.1.1 unter CentOS 7
Smokeping Installation unter CentOS7
Installieren Sie PostgreSQL 13 unter CentOS 7.5
Installieren Sie Jenkins auf Dockers CentOS
Installieren Sie Apache unter CentOS auf VirtualBox
Installieren Sie Ruby 2.7 unter CentOS 7 (SCL)
Installieren Sie Ruby 2.5 unter CentOS 7 mit SCL
Java Open JDK 8 unter CentOS 7 installieren
So installieren Sie MariaDB 10.4 unter CentOS 8
Installieren Sie Apache 2.4.46 von der Quelle unter CentOS 7
Schritte zum Installieren von devtoolset-6 unter CentOS 7
Installieren Sie Java 9 unter Windows 10 und CentOS 7
Installieren Sie MariaDB (CentOS 8)
[CentOS] Installieren Sie Apache-Loggen
Installieren Sie samba4 aus dem Quellcode unter CentOS8
Installieren Sie den Webmail-Client Rainloop unter CentOS 8
Installieren Sie CentOS 7 auf Raspberry pi 4 Model B.
Installieren Sie NextCloud unter CentOS 7 mit Alibaba Cloud ECS
Installieren Sie gradle auf dem Mac
Befehl zum Installieren von nginx / PHP7 / php-fpm unter CentOS7
Installieren Sie Corretto 8 unter Windows
Maven auf CentOS 7 Tutorial
Installieren Sie OpenJDK unter macOS
Installieren Sie Java auf dem Mac
Docker-Installation unter CentOS 6
Verwenden Sie perltidy unter CentOS 8
Probieren Sie OpenLiteSpeed unter CentOS8 aus
Python-Memo auf Docker
Tomcat v8 unter CentOS7
[CentOS7] Installiere aws cli
Installieren Sie Docker auf Manjaro
Installation von Zabbix 5 unter CentOS 8
Installieren Sie Ruby unter Ubuntu 20.04
Verwenden Sie mod_auth_cas unter CentOS 8
Installieren Sie lombok auf SpringToolSuite4
Anlegestelle v8 auf CentOS7
OpenJDK-Installation unter CentOS7
[CentOS7] Installieren Sie aws cli unabhängig von der Python-Version
Installieren Sie openjdk11 auf einem Mac
Installieren Sie OpenJDK 8 auf einem Mac
Installieren Sie das BookStack-Dokumentations-Wiki im Elastic Compute Service unter CentOS 7
Installieren Sie den neuesten Hardwaretreiber von EL Repo unter CentOS
Installieren Sie MySQL 5.6 unter CentOS6 [So geben Sie die Version an]
Installiere ag (den silbernen Sucher) [unter CentOS / Ubuntu / Mac]