Setting virtual environment for python and installing tensorflow

Steps: 


Step 1: Check Python environment:

Check if your Python environment is already configured:

python3 --version pip3 --version virtualenv --version

Step 2: If these packages are already installed, skip this step.

Installing with get-pip.py

To install pip, securely download get-pip.py:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

Then run the following:

python get-pip.py

Warning

Be cautious if you are using a Python install that is managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state.