使用命令行编程无论视觉效果还是代码录入的用户体验都不太好,
因此后期准备使用jupyter来编写代码。
然而,报错了。
使用import tensorflow as tf加载tensorflow报错。
因为此电脑上原本的jupyter并不在tensorflow环境下面载入的,因此不能加载tensorflow。
解决方案:在tensorflow环境下重新安装jupyter。
命令行代码:
activate tensorflow
conda install ipython
conda install jupyter
重新运行
jupyter notebook
【采坑】:ipython和jupyter依然无法安装。提示:
You will need to adjust your conda configuration to procee