【1】激活对应的conda环境
activate tensorflow
【2】在环境中安装ipykernel
conda install ipykernel
【3】将环境写入Notebook的kernel中
python -m ipykernel install --user --name tensorflow --display-name "Python tensorflow"
【4】再次运行Jupyter Notebook时,可选择conda环境
【1】激活对应的conda环境
activate tensorflow
【2】在环境中安装ipykernel
conda install ipykernel
【3】将环境写入Notebook的kernel中
python -m ipykernel install --user --name tensorflow --display-name "Python tensorflow"
【4】再次运行Jupyter Notebook时,可选择conda环境