mkl is a math library for Intel and compatible processors. It is a part of numpy, but we want to make sure it is installed before we install Theano and TensorFlow:
conda install mkl
The output of the installation is given as follows. In our case, miniconda2 has already installed the latest version of mkl:
Fetching package metadata ........... Solving package specifications: . # All requested packages already installed. # packages in environment at /home/ubuntu/miniconda2: # mkl 2018.0.1 h19d6760_4
Once all the prerequisites are installed, let's install TensorFlow.