pip3 install tensorflow错误解决: Could not find a version that satisfies the requirement tensorflow

本文详细介绍了在Python3.7环境下安装TensorFlow遇到的问题及解决方案,包括安装virtualenv和VisualC++RedistributableforVisualStudio2015,确保TensorFlow能够成功导入。
部署运行你感兴趣的模型镜像

安装Python3.7之后,用pip3 install tensorflow之后总是提示Could not find a version that satisfies the requirement tensorflow ……错误,一路百度之后还是无法解决。最终在TensorFlow公众号和一位优快云大牛那里得到解决。

问题见下图:提示找不到模块。问题是没安装virtualenv和Visual C++ Redistributable for Visual Studio 2015。

 

解决:1、检查Python版本 3.4、3.5和3.6

           2、安装virtualenv :pip3 install virtualenv

           3、安装Visual C++ Redistributable for Visual Studio 2015 :https://www.microsoft.com/en-us/download/confirmation.aspx?id=48145

然后import tensorflow as tf,应该就OK了。

注:参考优快云博客 https://blog.youkuaiyun.com/dou3516/article/details/77836459

您可能感兴趣的与本文相关的镜像

TensorFlow-v2.15

TensorFlow-v2.15

TensorFlow

TensorFlow 是由Google Brain 团队开发的开源机器学习框架,广泛应用于深度学习研究和生产环境。 它提供了一个灵活的平台,用于构建和训练各种机器学习模型

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值