Install Python on Ubuntu

Started by satineeraj, August 15, 2021, 12:13:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

satineeraj

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

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

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.