ubuntu为jupyter notebook添加多版本Python核心
0. 前言先安装的jupyter后安装的anaconda,结果在python3.6的虚拟环境里调用的是其他版本的python,导致conda安装的pytorch找不到1. 解决办法就是添加核心查看可用kernel和所在路径:jupyter kernelspec list,输出是python3 /home/lwd/.local/share/jupyter/kernels/python3复制一个新核心:cd /home/lwd/.local/share/jupyter/kernels,cp -r