其他分享
首页 > 其他分享> > 2021-09-05

2021-09-05

作者:互联网

jupyter notebook ModuleNotFoundError: No module named ‘tensorflow’

import tensorflow时出现了以上的错误,为了能够在虚拟环境的条件下使用jupyter notebook运行程序,需要切换一下jupyter notebook的kernel。

conda activate tensorflow
pip install ipykernel
python -m ipykernel install --name tensorflow --display-name "tensorflow"

参考链接

标签:jupyter,name,ipykernel,05,--,09,notebook,2021,tensorflow
来源: https://blog.csdn.net/weixin_47063262/article/details/120116078