conda 创建tensorflow虚拟环境后,无法import tensorflow在jupyter

ensorflow安装好了,在python中也测试过了,但在jupyter中却会报错,原因是先装的Anaconda 之后装的tensorflow,所以环境有问题,所以需要重装jupyter,先激活tensorflow环境,再重装:

source activate tensorflow #激活tensorflow环境
conda install ipython
conda install jupyter
jupyter notebook #重新打开jupyter notebook

  



posted @ 2019-03-07 17:46  Bamboo123  阅读(370)  评论(0编辑  收藏  举报