How to install tensorflow easily in ubuntu
Step 1
go to tensorflow install
Type
>>>python3 --version
# this checks the version of python
>>>pip3 --version
if not installed pip then type
sudo python install pip
Step 2
sudo apt update
sudo apt install python3-dev python3-pip python3-venv
The commands above are for Linux and they update the system and install python libraries
Step 3Enter command
python3 -m venv --system-site-packages ./venv
#The command above installs a virtual environment
Enter command
# this command activates the virtual environment
source ./venv/bin/activate # sh, bash, or zsh
Step 5
pip install --upgrade pip
pip list # show packages installed within the virtual environment
Step 6
pip install --upgrade pip
pip list
command above update the pip package
Step 6
pip install --upgrade tensorflow
command above install tensorflow library
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUW4sO304A8CI6O_xalMY5QVoidOzgZsnOEetSTV7HVhhCSFQesWRVIFZ0qWiDPwe92jD10b7hZ65R2WnNoH70qby0enUTvPXa8jx0xeDz4JOHxdD_G0M7UMBdZJmfdj6PEXhq8Af4Cy9J/w480-h640/WhatsApp+Image+2021-03-06+at+2.56.50+AM+%25282%2529.jpeg)
Step 7
Congrats you installed it
Troubleshoot
pip not found
install pip
sudo apt install pip