Computer Hope
Software => BSD, Linux, and Unix => Topic started by: satineeraj 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?
-
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
-
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.