Add a new environment in the jupyter

1.conda create a virtual environment

conda -n tf2 python = version number

source activate tf2

conda install nb_conda

conda install ipykernel

python -m ipykernel install --user --name tf2 --display-name "tf2"

安装成功!

Guess you like

Origin www.cnblogs.com/laowangxieboke/p/12100207.html