相关疑难解决方法(0)

"未加载库:@ rpath/libcudart.7.5.dylib"Mac上的TensorFlow错误

我正在使用OS X El Capitan(10.11.4).

我刚刚下载TensorFlow使用PIP安装说明这里.

一切都很顺利,虽然我收到了一些警告信息,如:

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.

You are using pip version 6.0.8, however version 8.1.2 is available. 即使我刚刚安装了pip.

然后,当我在Python中测试TensorFlow时,我得到了错误:

>>> import tensorflow as tf
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tensorflow/__init__.py", …
Run Code Online (Sandbox Code Playgroud)

python macos pip osx-elcapitan tensorflow

19
推荐指数
1
解决办法
1万
查看次数

标签 统计

macos ×1

osx-elcapitan ×1

pip ×1

python ×1

tensorflow ×1