标签:提示 notebook col done ase code src info cal
1、安装ipykernel:
(base) [root]# conda activate dl (dl) [root]# conda install nb_conda_kernels Collecting package metadata (current_repodata.json): done Solving environment: done
2、激活conda环境: source activate 环境名称,将环境写入notebook的kernel中
python -m ipykernel install --user --name 环境名称 --display-name "显示的名称"
如下:
(dl) [root]# python -m ipykernel install --user --name dl --display-name dl Installed kernelspec dl in /root/.local/share/jupyter/kernels/dl
3、打开notebook服务器:jupyter notebook
浏览器打开对应地址,就会有对应的环境提示了
远程jupyter+pycharm配置(二)之jupyter notebook切换虚拟环境
标签:提示 notebook col done ase code src info cal
原文地址:https://www.cnblogs.com/wqbin/p/12803520.html