ModuleNotFoundError: No module named ‘tensorflow‘
欢迎联系博主——这里是赛博曹操https://bbs.youkuaiyun.com/topics/619568415
Anaconda安装TensorFlow 之后,通过Jupyter运行,出现错误 ImportError: No module named ‘tensorflow’.
解决办法就一句:
pip install tensorflow
你好这里是赛博曹操——致所有粉丝的一封信-优快云社区https://bbs.youkuaiyun.com/topics/619568415
【常见模块错误】
如果出现模块错误
进入控制台输入:建议使用国内镜像源
pip install 模块名称 -i https://mirrors.aliyun.com/pypi/simple
我大致罗列了以下几种国内镜像源:
清华大学
https://pypi.tuna.tsinghua.edu.cn/simple
阿里云
https://mirrors.aliyun.com/pypi/simple/
豆瓣
https://pypi.douban.com/simple/
百度云
https://mirror.baidu.com/pypi/simple/
中科大
https://pypi.mirrors.ustc.edu.cn/simple/
华为云
https://mirrors.huaweicloud.com/repository/pypi/simple/
腾讯云
https://mirrors.cloud.tencent.com/pypi/simple/