在Windows 10的anaconda环境中运行Jupyter Notebook [英] Run Jupyter notebook in an anaconda environment on Windows 10

查看:200
本文介绍了在Windows 10的anaconda环境中运行Jupyter Notebook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近通过以下方式创建了anaconda env:

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

然后我在tensorflow_env中安装jupyter笔记本

Then I install jupyter notebook in the tensorflow_env,

conda install jupyter

然后我用

jupyter notebook

我有一个空白网站: 有人知道这是怎么回事吗?我使用Windows10.如果不在tensorflow_env环境中运行jupyter笔记本,它将正常工作.但是,如果我不在那种环境中运行jupyter,我将无法导入张量流.

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.

推荐答案

您可能需要安装其他软件包:

You may need to install additional package:

conda install nb_conda_kernels

然后重新启动Jupyter笔记本服务器.

and restart the Jupyter notebook server again.

这篇关于在Windows 10的anaconda环境中运行Jupyter Notebook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆