给jupyter notebook配置虚拟环境
1.打开Anaconda prompt,查看安装了哪些虚拟环境
conda env list
2.设置清华源镜像
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
3.conda创建虚拟环境
conda create -n jupyter_test python=3.6
4.激活环境
conda activate jupyter_test
5.安装ipykernel
conda install ipykernel
6.继续在该环境中安装nb_conda
conda install -c conda-forge nb_conda
conda install nb_conda_kernels 优先这个方法
7.在该环境中启动jupyter notebook
jupyter notebook