Apologies in advance, I think the issue is quite perplexing!
I would like to use TensorFlow through Jupyter, with a Python3 kernel.
However the command import tensorflow as tf returns the error: ImportError: No module named tensorflow when either Python2 or Python3 is specified as the Jupyter kernel.
- I have Python 2 and Python 3 installed on my Mac and can access bothversions through Terminal.
- I installed TensorFlow for Python 3, however I can only access it via Python 2 on the Terminal.
As such, this question is really two-fold:
- I want to get TensorFlow working with Python3
- ...which should lead to TensorFlow working with Jupyter on the Python3 terminal.

本文提供了一种解决TensorFlow无法在Jupyter中通过Python3内核运行的问题的方法。作者详细介绍了如何创建虚拟环境,安装必要的软件包,并配置Jupyter以识别Python3中的TensorFlow。
1002

被折叠的 条评论
为什么被折叠?



