一、查看当前python版本
import sys
print(sys.version)
print(sys.executable)
第一行输出当前python版本
第二行输出解释器路径
二、添加环境到jupyter中
1.切换到当前环境
2.在adda环境中中安装好ipykernel
conda install ipykernel
3.添加环境
python -m ipykernel install --name name
三、删除环境
查看当前有哪些环境
jupyter kernelspec list
删除name的环境
jupyter kernelspec uninstall pytorch1.8_python3.6