Ubuntu安装tensorflow报错:tensorflow-xx.whl not a supported wheel on this platform
来源:互联网 发布:淘宝工作室是怎么赚钱 编辑:程序博客网 时间:2024/05/16 13:38
解决Ubuntu安装tensorflow报错:tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.
[本文为原创博客,转载请注明出处:http://blog.csdn.net/scotfield_msn/article/details/54234914]
在虚拟机中开了Ubuntu14.0.4,然后安装一系列的ML包:scipy、numpy、sklearn、pylab、pandas,以及pip的安装。哦对了,用的是python2.7。
接着按照网上的教程安装TensorFlow:
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
然后报了个红色的大错,这个错误在试了N多遍还是依然存在:
Cannot install tensorflow on fresh ubuntu partition: tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl is not a supported wheel on this platform
经过一大堆的Google和StackOverflow以及询问师兄们还是没解决问题。其中参考了这些博客:
1.[认为pip的版本没对](http://blog.csdn.net/kevinew/article/details/51519279)
2.[认为TensorFlow没连上](http://stackoverflow.com/questions/37425579/cannot-install-tensorflow-on-fresh-ubuntu-partition-tensorflow-0-8-0-cp34-cp34m)
其实,都错了。真正的原因在于:
TensorFlow only be installed under a 64bit platform but not a 32bit machine!
亲,TensorFlow是不支持32位机的~
关键是我翻遍了网页也没看到哪里有一条hint提示我说tensorflow不支持32位机啊!
这是有多坑!
果然,虚拟机装的Ubuntu是32bit的。
倒吸一口气,马上装上64bit的ubuntu。另外,VM建议装Ubuntu14,而不是最新的ubuntu16,因为16真的很卡……诚不欺尔。
刷刷地一顿TensorFlow安装完毕。
- Ubuntu安装tensorflow报错:tensorflow-xx.whl not a supported wheel on this platform
- Ubuntu安装tensorflow报错:tensorflow-xx.whl not a supported wheel on this platform
- 使用pip安装tensorflow报错:tensorflow---- is not a supported wheel on this platform.
- whl is not a supported wheel on this platform.
- python中的lxml的安装+*.whl is not a supported wheel on this platform.
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- Python——pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错'not a supported wheel on this platform'
- pip 安装报错,is not a supported wheel on this platform
- filename.whl is not supported wheel on this platform
- ViewPager
- 用hexo+github搭建Blog
- MCU---I/O基本结构
- 动画
- Android WebView技术详解和经验分享
- Ubuntu安装tensorflow报错:tensorflow-xx.whl not a supported wheel on this platform
- webSocket简单聊天室(Java_Demo)
- 空串产生式
- 2016总结+2017计划
- 04-树7 二叉搜索树的操作集 (30分)
- C++学习笔记 lesson4 构造函数2
- Android接入微信支付,返回-1
- Ajax 技术详解
- Dubbo架构设计详解