jupyter notebook运行出错:ModuleNotFoundError: No module named ‘keras‘ 解决办法
程序员文章站
2022-03-25 14:48:00
接上一篇《win10+python3.6+tensorflow-cpu+keras+Pycharm环境下的tensorflow配置方法》通过Anaconda Prompt 打开查看当前可用的kerneljupyter kernelspec list显示添加Python kernelconda activate tensorflow #tensorflow是之前创建的虚拟环境名字在tensorflow虚拟环境下,安装ipykernelconda install ipykernel...
通过Anaconda Prompt 打开
查看当前可用的kernel
jupyter kernelspec list
显示
添加Python kernel
conda activate tensorflow #tensorflow是之前创建的虚拟环境名字
在tensorflow虚拟环境下,安装ipykernel
conda install ipykernel
python -m ipykernel install --name tensorflow
再次查看当前可用的kernel
jupyter kernelspec list
显示
jupyter notebook
Anaconda Jupyter Notebook添加
PyTorch/TensorFlow/Keras Python Kernel
同此方法
参考
1.Anaconda Jupyter Notebook添加PyTorch/TensorFlow/Keras Python Kernel 图解说明
2.在jupyter notebook导入keras出错:ModuleNotFoundError: No module named ‘keras’ 解决办法
3.如何在Jupyter Notebook中使用Python虚拟环境?
4.jupyter notebook中使用keras
本文地址:https://blog.csdn.net/weixin_45656790/article/details/108875446
推荐阅读
-
ModuleNotFoundError: No module named 'torch'(anaconda安装好Pytorch却无法在Jupyter notebook使用)
-
ModuleNotFoundError: No module named ‘pip‘问题的解决方案和jupyter notebook的安装
-
jupyter notebook运行出错:ModuleNotFoundError: No module named ‘keras‘ 解决办法
-
在jupyter notebook导入keras出错:ModuleNotFoundError: No module named 'keras' 解决办法
-
virtualenv中运行的jupyter notebook,在import pandas时报错,ImportError: No module named 'pandas'
-
jupyter notebook 报错信息 ModuleNotFoundError: No module named jupyter_nbextensions_configurator
-
安装pytorch运行import torch出错ModuleNotFoundError: No module named ‘torch’
-
关于 Jupyter Notebook 中 No module named ‘torch‘ 的解决办法
-
jupyter notebook运行出错:ModuleNotFoundError: No module named ‘keras‘ 解决办法
-
Jupyter Notebook中出现“ModuleNotFoundError: No module named ‘imblearn‘”错误