Quantcast
Channel: DevOps tips & tricks
Viewing all articles
Browse latest Browse all 181

Install Python3 on Centos 7

$
0
0
To avoid impact on Centos own Python 2 packages use Python3  venv




On Fedora 31 Python 3 is default

 
[dave@localhost ~]$ python3

Python 3.7.6 (default, Jan 30 2020, 09:44:41) 

[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux

Type "help", "copyright", "credits" or "license" for more information.

>>> 

[dave@localhost ~]$ python2

Python 2.7.17 (default, Oct 20 2019, 00:00:00) 

[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> 

[dave@localhost ~]$ python

Python 3.7.6 (default, Jan 30 2020, 09:44:41) 

[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux

Type "help", "copyright", "credits" or "license" for more information.

>>> 

 

Viewing all articles
Browse latest Browse all 181

Trending Articles