Python3.6张量流
Python 3.6 tensorflow
我克服了大部分错误,但我仍然坚持这个错误(我认为这将是最后一个错误),如果有人能提供帮助那就太好了。谢谢
import _pywrap_tensorflow
ModuleNotFoundError: No module named '_pywrap_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.
Process finished with exit code 1
我是这样安装的python -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl
不要在Tensorflow 1.0中直接导入模块pywrap_tensorflow,请尝试:
import tensorflow as tf
当您想使用 pywrap_tensorflow 模块时,请尝试:
tf.pywrap_tensorflow
祝你好运!
我克服了大部分错误,但我仍然坚持这个错误(我认为这将是最后一个错误),如果有人能提供帮助那就太好了。谢谢
import _pywrap_tensorflow
ModuleNotFoundError: No module named '_pywrap_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.
Process finished with exit code 1
我是这样安装的python -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl
不要在Tensorflow 1.0中直接导入模块pywrap_tensorflow,请尝试:
import tensorflow as tf
当您想使用 pywrap_tensorflow 模块时,请尝试:
tf.pywrap_tensorflow
祝你好运!