jupyter notebook在conda中使用

jupyter notebook在conda中使用,第1张

jupyter notebook在conda虚拟环境中运行:
更改步骤:
	// 创建一个conda虚拟环境名称为jupyter_test
	conda create -n jupyter_test python=3.7
	//切换至虚拟环境
	conda activate jupyter_test
	//下载ipykernel包
	conda install ipykernel
	//将虚拟环境写入jupyter notebook 环境中
	python -m ipykernel install --user --name {你的虚拟环境名字,如jupyter_test} --display-name {你想显示的名称,如cuda102_py37_pt190}

之后在命令行中输入 jupyter notebook,就可以在kernel中看到新的conda环境

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/langs/729012.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-26
下一篇 2022-04-26

发表评论

登录后才能评论

评论列表(0条)

保存