python tensorflow 安装
我是先下载tensorflow-1.5.0rc1-cp36-cp36m-win32.whl,再执行命令行安装的
下载地址:https://pypi.python.org/pypi/tensorflow/1.5.0rc1
1
|
pip install tensorflow - 1.5 . 0rc1 - cp36 - cp36m - win32.whl |
pip安装报错:is not a supported wheel on this platform
https://www.cnblogs.com/nice-forever/p/5371906.html
缺少模块
numpy
cv2
注:需要在管理员模式运行
TensorFlow不同版本引起的错误:
前4个是 V0.11 的API 用在 V1.0 的错误
1. AttributeError: 'module' object has no attribute 'merge_all_summaries'
>> tf.merge_all_summaries() 改为:summary_op = tf.summary.merge_all()
2. AttributeError: 'module' object has no attribute 'SummaryWriter'
>> tf.train.SummaryWriter 改为:tf.summary.FileWriter
3. AttributeError: 'module' object has no attribute 'scalar_summary'
>> tf.scalar_summary 改为:tf.summary.scalar
4. AttributeError: 'module' object has no attribute 'histogram_summary'
干货 win10安装TensorFlow填坑笔记:http://blog.csdn.net/chewinggum/article/details/70373098
【TensorFlow】Windows10 64 位下安装 TensorFlow - 官方原生支持:http://blog.csdn.net/u010099080/article/details/53418159
Windows下安装tensorflow步骤:http://blog.csdn.net/chongtong/article/details/53905625?locationNum=6&fps=1
TensorFlow 安装教程:http://blog.csdn.net/bitcarmanlee/article/details/52749488
学习
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧