【发布时间】:2019-05-02 13:23:24
【问题描述】:
我正在尝试导入 tensorflow,我已经尝试了所有方法,并且在 cmd 提示符下,我成功地使用 PIP 安装了 tensorflow。
但是当我尝试在 Python 中导入 tensorflow 时,出现以下错误:
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.
我已经尝试了互联网上的所有内容,但似乎没有任何解决方法。我有 Python 版本 3.7.1
问题是什么,更重要的是:我该如何解决这个问题??
【问题讨论】:
标签: python tensorflow pip anaconda conda