更改步骤:
// 创建一个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环境
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)