import tensorflow 报错:imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)

安装tensorflow2.1 后报下面的错误:
imp.load_module(’_pywrap_tensorflow_internal’, fp, pathname, description)

解决办法:windows CPU 不支持tensorflow2.1 ,所以删了,重新安装的tensorflow2.0
命令如下,国内镜像,安装很快。
pip install --upgrade --pre tensorflow==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple

发布了21 篇原创文章 · 获赞 18 · 访问量 1459

猜你喜欢

转载自blog.csdn.net/zephyr_wang/article/details/103941813
今日推荐