简体   繁体   English

无法加载本机 TensorFlow 运行时。 下载anaconda 3-5.2

[英]Failed to load the native TensorFlow runtime. Downloaded anaconda 3-5.2

I installed anaconda 3-5.2 from the anaconda install archive and I can't seem to get tensorflow working.我从 anaconda 安装档案中安装了 anaconda 3-5.2,但我似乎无法让 tensorflow 工作。 When I try to import it this is the error message I get.当我尝试导入它时,这是我收到的错误消息。 I recently updated brew and deleted anaconda and reinstalled it also.我最近更新了 brew 并删除了 anaconda 并重新安装了它。

ImportError: Traceback (most recent call last):
File "/Users/admin/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "/Users/admin/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "/Users/admin/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/Users/admin/usr/local/opt/anaconda3/lib/python3.6/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "/Users/admin/usr/local/opt/anaconda3/lib/python3.6/imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: dlopen(/Users/admin/.local/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 10): Library not loaded: @rpath/libcublas.8.0.dylib
Referenced from: /Users/admin/.local/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so
Reason: image not found

Failed to load the native TensorFlow runtime.无法加载本机 TensorFlow 运行时。

See https://www.tensorflow.org/install/install_sources#common_installation_problems请参阅https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions.出于一些常见的原因和解决方案。 Include the entire stack trace above this error message when asking for help.寻求帮助时,请在此错误消息上方包含整个堆栈跟踪。

您需要使用conda install tensorflow进行conda install tensorflow以便conda install tensorflow cuda 和 cudnn 库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “无法加载本机 TensorFlow 运行时。” - “Failed to load native TensorFlow runtime.” 无法加载本机 TensorFlow 运行时。? - Failed to load the native TensorFlow runtime.? Tensorflow:导入失败,并显示“无法加载本机TensorFlow运行时。” - Tensorflow: Import failed with “Failed to load the native TensorFlow runtime.” 无法加载本地TensorFlow运行时。 Windows 10上的Python 3.6 - Failed to load the native TensorFlow runtime. Python 3.6 on Windows 10 无法加载本机 TensorFlow 运行时。 (Colab 错误) - Failed to load the native TensorFlow runtime. (Colab error) 无法加载本机 TensorFlow 运行时。 蟒蛇 3.5.2 - Failed to load the native TensorFlow runtime. Python 3.5.2 “无法加载本机 TensorFlow 运行时。” 使用 rocm 导入 tensorflow 时出错 - “Failed to load the native TensorFlow runtime.” error when importing tensorflow with rocm 无法加载本机TensorFlow运行时。 原因:未找到图像。 我究竟做错了什么? - Failed to load the native TensorFlow runtime. Reason : Image not found. What am I doing wrong? 无法加载本地TensorFlow运行时。 运行g2p-seq2seq --version时 - Failed to load the native TensorFlow runtime. when running g2p-seq2seq --version 如何修复“无法加载本机 TensorFlow 运行时”。 尝试在 gpu 上运行时出错? - How to fix "Failed to load the native TensorFlow runtime." error when attempting running on gpu?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM