On Ubuntu 14.04, I have installed Anaconda, which I use as my main Python interpreter. I now want to install the TensorFlow library and use this via Anaconda. So, I downloaded the relevant foo.whl
file from the TensorFlow website, and then ran pip install foo.whl
. After this, I ran pip freeze
, and it showed me tensorflow==0.7.1
indicating that it was installed successfully.
However, using the Anaconda interpreter, when I run a Python file which has import tensorflow
, it tells me ImportError: No module named 'tensorflow'
. Additionally, if I search my Anaconda directory, there is no reference to TensorFlow.
Now at first, I thought this was because pip install
was using pip
that comes with the native Ubuntu installation. However, I have the line export PATH=/home/karnivaurus/Libraries/Anaconda/bin:$PATH
in my .bashrc
file, and so this suggests it would use Anaconda's pip.
Any idea what's going on? Thanks!