Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Install Python on Ubuntu  (Read 86379 times)

0 Members and 1 Guest are viewing this topic.

satineeraj

    Topic Starter


    Rookie
  • Thanked: 1
    • Experience: Beginner
    • OS: Windows 10
    Install Python on Ubuntu
    « on: August 15, 2021, 12:13:48 AM »
    I am trying to install Python 3.9 on my Ubuntu OS, I try to install Python in the following manner
    sudo apt-get install python3.9
    after seems installed  I tried checking the version:
    python -V
    However, this input returns:
    -bash: python: command not found
    It seems like Python versions don't fully install.
    Can anyone help me for installing the Python on Ubuntu?
    Life doesn’t always give u a second chance U never get a second chance to create the first impression So make ur first chance counthttps://vidmate.click/https://vidmateapp.winhttps://myfiosgateway.win/.

    satineeraj

      Topic Starter


      Rookie
    • Thanked: 1
      • Experience: Beginner
      • OS: Windows 10
      Re: Install Python on Ubuntu
      « Reply #1 on: August 27, 2021, 12:11:09 AM »
      I face many of the issue when i install the Python on my Ubantu OS, but finally i did this, I Start by updating the packages list and installing the prerequisites: $ sudo apt update $ sudo apt install software-properties-common Next, add the deadsnakes PPA to your sources list: $ sudo add-apt-repository ppa:deadsnakes/ppa Once the repository is enabled, install Python 3.7 with: $ sudo apt install python3.7 Now you can check the version of python using, this post(https://monovm.com/blog/how-to-install-python-on-ubuntu-1/) is really help me to Install the Python
      Life doesn’t always give u a second chance U never get a second chance to create the first impression So make ur first chance counthttps://vidmate.click/https://vidmateapp.winhttps://myfiosgateway.win/.

      Unix



        Newbie

        Thanked: 1
        • Experience: Expert
        • OS: Linux variant
        Re: Install Python on Ubuntu
        « Reply #2 on: September 14, 2021, 06:08:16 AM »
        Actually, Python3 comes installed by default on Ubuntu. If you need different versions, the best you can do is to use Pyenv. This tool will allow you to install multiple Python versions on any Linux distribution.