目录
前言
简要记录新手使用jupyter notebook,新建环境时的搭建步骤
一、换源
速度快的可以不换(以防后期出现问题,可以都换一下)
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
二、创建虚拟环境
1.创建
conda create -n jupyter1 python=3.7
2.激活
conda activate jupyter1
3.在虚拟环境中安装ipykernel
conda install ipykernel
4.继续在该环境中安装nb_conda
conda install -c conda-forge nb_conda
5.继续在该环境中启动jupyter notebook
jupyter notebook
总结
亲测有效~大家快试起来吧!