How To Install Python 3 on CentOS 7



For a free Linux cheat sheet click here:
http://eepurl.com/dkRNM9

This tutorial shows you how to install Python 3, set up a local programming environment and create your first python program. The commands that you need to follow along with this tutorial are available form here:

How To Install Python 3 on CentOS 7


source
centos 7

Devin BARTON

Devin BARTON

I am an avid Linux lover and open source enthusiast. I use Ubuntu and believe in sharing knowledge. Apart from Linux, I love classic detective mysteries.

6 thoughts on “How To Install Python 3 on CentOS 7

  • Avatar
    September 25, 2020 at 11:28 am
    Permalink

    It is asking for sudo password. Code is not going forward without sudo password. what should i do?? Help

    Reply
  • Avatar
    September 25, 2020 at 11:28 am
    Permalink

    Hey Darren,

    Thank you for the video, I installed successfully however:

    1. I did notice that on your website, the command 'Vi HelloWorld.py' does not work. I had to change the 'V' to a lowercase then it worked.

    2. I was wondering how I can update this to Python3.7

    Reply
  • Avatar
    September 25, 2020 at 11:28 am
    Permalink

    Hello Darren, thank you for the tutorial, its nice and clean and also for providing the commands. I have few questions though.

    1. Centos came with a preinstalled Python2.7 version, so after installing Python3 i had to relink Python to Python3.7.

    2. Yum stopped working after the link i created, as i looked inside, it seems yum doesnt work with Python 3, as you work in virtual environment where PY3 is rendered by command python so that is okay, but is there a fix on main OS?

    and again thank you for the video.
    Please do a video on Django for centos and how to start building website.

    Reply

Leave a Reply