简体   繁体   English

tensorflow不适用于conda环境

[英]tensorflow is not working on a conda environment

I created an environment on conda and installed the tensorflow on it, with following the instruction from here . 我按照此处的说明在conda上创建了一个环境,并在其上安装了tensorflow。 I check the tensorflow version on my environment with pip list | grep tensorflow 我在我的环境中使用pip list | grep tensorflow检查tensorflow版本pip list | grep tensorflow pip list | grep tensorflow and it returns tensorflow (1.3.0) . pip list | grep tensorflow并返回tensorflow (1.3.0)

but when I want to check tensorflow with python with import tensorflow as tf I got the error: Failed to load the native TensorFlow runtime. 但是,当我想使用import tensorflow as tf检查python的import tensorflow as tf出现错误: Failed to load the native TensorFlow runtime.

Any suggestion how to solve this issue? 有什么建议如何解决这个问题? Thanks 谢谢

fixed it by this command: 通过以下命令修复它:

conda install -c https://conda.anaconda.org/jjhelmus tensorflow

from this post 从这个帖子

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM