Python 无法在Virtualenv中运行Jupyter Notebook plus TensorFlow

Python 无法在Virtualenv中运行Jupyter Notebook plus TensorFlow,python,python-3.x,tensorflow,virtualenv,jupyter-notebook,Python,Python 3.x,Tensorflow,Virtualenv,Jupyter Notebook,我已经按照上面描述的步骤进行了操作,并且能够激活 source~/tensorflow/bin/activate并已安装 (tensorflow)$pip3安装——升级tensorflow一切都很顺利,我能够运行tensorflowHello World程序 我看了看我当地的jupyter小径 (tensorflow)username$ which jupyter (tensorflow)username$/Library/Frameworks/Python.framework/Versions

我已经按照上面描述的步骤进行了操作,并且能够激活
source~/tensorflow/bin/activate
并已安装
(tensorflow)$pip3安装——升级tensorflow
一切都很顺利,我能够运行tensorflowHello World程序

我看了看我当地的jupyter小径

(tensorflow)username$ which jupyter
(tensorflow)username$/Library/Frameworks/Python.framework/Versions/3.6/bin/jupyter
然后我尝试在tensorflow Virtualenv上安装jupyter

(tensorflow) username$ pip3 install jupyter
Requirement already satisfied: jupyter in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
Requirement already satisfied: ipywidgets in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from jupyter)
.....................
.....................
然后我停用了虚拟环境,重新启动了终端,再次激活了tensorflow。我试图再次检查我在virtualenv上的路径。又得到了同样的东西

(tensorflow)username$ which jupyter
(tensorflow)username$/Library/Frameworks/Python.framework/Versions/3.6/bin/jupyter
我尝试了所有的博客解决方案,包括
pip安装--升级$TF\u BINARY\u URL


现在,当我在Jupyter notebook中运行Hello World时,我发现有什么问题吗?在Jupyter notebook中没有使用virtualenv时,我在本地安装了tensorflow和keras,现在Jupyter notebook能够定位库。那么,怎么了?在Jupyter notebook中没有使用virtualenv时,我在本地安装了tensorflow和keras,现在jupyter笔记本可以找到图书馆了。