Continuing from the previous article
"How to configure tensorflow in win10+python3.6+tensorflow-cpu+keras+Pycharm environment"
byAnaconda Prompt turn on
View the currently available kernel
jupyter kernelspec list
display
Add Python kernel
conda activate tensorflow #tensorflow是之前创建的虚拟环境名字
In the tensorflow virtual environment, installipykernel
conda install ipykernel
python -m ipykernel install --name tensorflow
If you accidentally add a wrong Python kernel , you can delete it with this command:
jupyter kernelspec remove your_env_name
once againView the currently available kernel
jupyter kernelspec list
display
jupyter notebook
Anaconda Jupyter Notebook 添加
PyTorch / TensorFlow / Hard Python Kernel
Same method
reference
1. Anaconda Jupyter Notebook adds PyTorch/TensorFlow/Keras Python Kernel graphical instructions
2. Import keras error in jupyter notebook: ModuleNotFoundError: No module named'keras' Solution
3. How to use Python virtual environment in Jupyter Notebook?
4. Use keras in jupyter notebook