给jupyter-notebook添加新的环境

进入虚拟环境

cd {ur envir}/bin
source activate

两行命令安装

pip install ipykernel
python -m ipykernel --name tf2 --user

你可能感兴趣的:(自学)