title: Why can't I import tensorflow
body: <p>I installed the tensorflow following the instructions from the tensorflow webpage, using the following commands:</p>
  
  <pre><code>sudo apt-get install python-pip python-dev
  export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.0rc0-cp27-none-linux_x86_64.whl
  sudo pip install --upgrade $TF_BINARY_URL
  </code></pre>
  
  <p>Then I run python and type in:</p>
  
  <pre><code>import tensorflow
  </code></pre>
  
  <p>I got these error messages:</p>
  
  <pre><code>ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory
  Error importing tensorflow.  Unless you are using bazel,
  you should not try to import tensorflow from its source directory;
  please exit the tensorflow source tree, and relaunch your python interpreter
  from there.
  </code></pre>
  
  <p>I have google this problem and found answers like <a href="https://github.com/tensorflow/tensorflow/issues/1244" rel="nofollow noreferrer">https://github.com/tensorflow/tensorflow/issues/1244</a>
  and
  <a href="https://github.com/NVIDIA/DIGITS/issues/8" rel="nofollow noreferrer">https://github.com/NVIDIA/DIGITS/issues/8</a>
  But none of them is helpful to my problem.
  My python is of version 2.7.6. I was installing the CPU-only version for Linux.
  When I first installed tensorflow in the above-mentioned way, it worked correctly and I managed to run some tutorial examples. But today I tried to install the anaconda, which is another useful computing toolbox. When I   installed it, I found that there was no tensorflow anymore. So I installed tensorflow again using conda. But then the above-mentioned error happens. Now I have removed the anaconda, and removed the environmental path added by anaconda. But the import error stays unsolved.
  I'm confused about what happened. Thank you all for your kind help!!!!</p>