Run Jupyter notebook in an anaconda environment on Windows 10

十年热恋 提交于 2021-02-11 14:40:42

问题


I recently create a anaconda env by:

conda create -n tensorflow_env python=3.6
conda activate tensorflow_env
conda install -c conda-forge tensorflow

Then I install jupyter notebook in the tensorflow_env,

conda install jupyter

Then I run it with

jupyter notebook

I got a blank website: Anyone knows what's going on here? I use windows 10. And the jupyter notebook works fine if I don't run it with in the tensorflow_env environment. But if I don't run the jupyter in that environment, I can't import tensorflow.


回答1:


You may need to install additional package:

conda install nb_conda_kernels

and restart the Jupyter notebook server again.



来源:https://stackoverflow.com/questions/55173721/run-jupyter-notebook-in-an-anaconda-environment-on-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!