How to install Tensorflow 2 as well as 1.15 both in a single OS
First, Anaconda is a very good decision when you want to have two different versions of the same package installed.
Second, to achieve that, you will have to make 2 different virtual environments. One will host your TF 1, the other - TF 2.
You can see how to make these environments in this lecture here: https://learn.365datascience.com/courses/deep-learning-with-tensorflow-2-0/installing-the-tensorflow-package Best,