所以我设法所有其他包(如CV2,熊猫,matplotlib ..)在默认内核或Python 3内核,除了Tensorflow 工作做好。Tensorflow在Jupyter笔记本导入错误
- Tensorflow不会导入内核:“Python 3”或“Python默认”。
进口tensorflow为TF
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-41389fad42b5> in <module>()
----> 1 import tensorflow as tf
ImportError: No module named tensorflow
当我选择 “ENV:tensorflow” 的内核,我的其他软件包,如大熊猫,CV2全部崩溃。因此,我尝试使用“默认”内核或“Python 3”内核。
非常感谢。
你能从'python3'交互式会话中导入tensorflow吗?您可能只需要'pip3 install' [TensorFlow python3软件包](https://www.tensorflow.org/versions/r0.11/get_started/os_setup.html#pip-installation)。 –