During your work, you will encounter situations where you need multiple versions of TensorFlow on the same machine, such as TensorFlow 1.0 or TensorFlow 1.2. We may need to use TensorFlow with Python 2.7 or 3.0. With the previous installation, we have already successfully installed TensorFlow in the system Python. Now, we will show you how to use Anaconda to have multiple working environments on the same machine. With Anaconda, we can even use different versions of other popular libraries, such as OpenCV, NumPy, and scikit-learn.
First, we need to download and install miniconda from https://conda.io/miniconda.html. In our case, we select Python 2.7 64-bit bash installer, as we want to use Python 2.7 as the default Python. Nevertheless, we can create environments with either Python 2.7 or Python 3 later. We need to run the following command to run...