I would suggest utilizing a virtual environment utilizing pip install vitualenv. At that point, contingent upon your OS, you need to establish and activate an environment.
python3 -m venv /path/to/new/virtual/environment
Now, try to activate this environment with the help of,
source ./venv/bin/activate
And now, I think you can install the python packages which you need.
pip install tensorflow==2.0.0
If you want to become an expert in Python? Join the python course fast!
For more details, do check out the below video tutorial.