'Library not loaded: @rpath/libcudart.7.5.dylib' TensorFlow Error on Mac
<p>I'm using OS X El Capitan (10.11.4).</p>

<p>I just downloaded TensorFlow using the pip install instructions <a href="https://www.tensorflow.org/versions/r0.10/get_started/os_setup.html">here</a>.</p>

<p>Everything went pretty smoothly, though I did get a few warning messages like:</p>

<p><code>The directory '/Users/myusername/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.</code></p>

<p>and</p>

<p><code>You are using pip version 6.0.8, however version 8.1.2 is available.</code> Even though I just installed pip.</p>

<p>Then, when I tested TensorFlow in Python, I got the error:</p>

<pre><code>&gt;&gt;&gt; import tensorflow as tf
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tensorflow/__init__.py", line 23, in &lt;module&gt;
    from tensorflow.python import *
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tensorflow/python/__init__.py", line 48, in &lt;module&gt;
    from tensorflow.python import pywrap_tensorflow
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in &lt;module&gt;
    _pywrap_tensorflow = swig_import_helper()
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tensorflow/python/_pywrap_tensorflow.so, 10): Library not loaded: @rpath/libcudart.7.5.dylib
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tensorflow/python/_pywrap_tensorflow.so
  Reason: image not found
</code></pre>

<p>Now, when I try to do <code>pip uninstall tensorflow-0.10.0rc0</code> it tells me that it's not installed.</p>

<p>The closest thing I've found to resembling this problem is <a href="https://github.com/tensorflow/tensorflow/issues/2278">this issue</a> in the TensorFlow GitHub docs (which I have not tried).</p>

<p>How can I uninstall whatever it did install and get TensorFlow up and running correctly?</p>