Just as this question, I use Ubuntu and Anaconda for python 2.7 to install tensorflow and then activate the environment by source activate tensorflow
which is exactly the same as shown in official website. After activation, use python
command to enter python environment, now I can import tensorflow as tf
but I cannot import matplotlib
.
Without activating tensorflow, the import matplotlib
works but in that case I cannot import tensorflow
. So is it a conflict? Can someone tell me how to solve it? Is there any way to keep tensorflow always activated so that I don't need to activate it everytime (my previous ubuntu do have this feature but I forgot how did I make it)?