Python is a widely-used programming language. Python provides simple and easy to learn their syntax is very syntax, now a day Python is a popular choice amongst developers.
we are trying to make the
Check Python Version by typing the following
Update your system before installing the python
sudo apt-get update
If not stalled then type
sudo apt install python3
If already installed on your system then if you would like to upgrade with the latest version then run following in your terminal
sudo apt-get upgrade python3
Install Pip- pip is mandatory to install if you want to install any package
pip is a package management system used to install and manage software packages in Python. You can easily install pip in your system you need to run a simple command to install
sudo apt install -y python3-pip
Install package through pip
pip3 install package_name
after pip, you can install more packages that are also required to install so you need to install the following python packages.
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
Once all necessary package is installed you can easily set up a virtual environment on your working directory. better to follow python official documentation which is super easy I believe that you can easily do that
The process of installation latest python is the same for all other Ubuntu or Linux version
So, this is a very simple step you need to follow. Most of the cases python, 3 will be already installed in ubuntu 16.04. If you are facing any problem feel free to contact me.
we are also solving the problem through video so please go to my channel and
Please subscribe so that we will get motivated
your contribution will be appreciated :)