Cent OS 7安装Tensorflow
来源:互联网 发布:ubuntu root修改grub 编辑:程序博客网 时间:2024/06/05 19:39
安装 python3 以及pip3 我就不再赘述了 相信朋友们都没问题
现在的环境是:
[root@localhost moxiao]# python3
Python 3.6.0 (default, Jun 7 2017, 21:01:28)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux
Type "help", "copyright", "credits" or "license" for more information.
[root@localhost moxiao]# pip3
Usage:
pip <command> [options]
Commands:
install Install packages.
download Download packages.
uninstall Uninstall packages.
freeze Output installed packages in requirements format.
...................................
现在呢
pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp35-cp35m-linux_x86_64.whl
tensorflow-1.0.1-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform.
就是这步出问题了
检查了Linux 系统 是64位 没问题 找了好多资料 终于找到了解决办法:
[root@localhost moxiao]# wget https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp35-cp35m-linux_x86_64.whl
--2017-06-07 21:38:10-- https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp35-cp35m-linux_x86_64.whl
正在解析主机 storage.googleapis.com (storage.googleapis.com)... 172.217.24.16, 2404:6800:4008:803::2010
正在连接 storage.googleapis.com (storage.googleapis.com)|172.217.24.16|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:44064260 (42M) [application/octet-stream]
正在保存至: “tensorflow-1.0.1-cp35-cp35m-linux_x86_64.whl”
100%[======================================>] 44,064,260 9.25MB/s 用时 5.3s
2017-06-07 21:38:17 (7.89 MB/s) - 已保存 “tensorflow-1.0.1-cp35-cp35m-linux_x86_64.whl” [44064260/44064260])
然后 很关键的一步:
[root@localhost moxiao]# mv tensorflow-1.0.1-cp35-cp35m-linux_x86_64.whl tensorflow-1.0.1-py3-none-linux_x86_64.whl
[root@localhost moxiao]# pip3 install --ignore-installed --upgrade tensorflow-1.0.1-py3-none-linux_x86_64.whl
Processing ./tensorflow-1.0.1-py3-none-linux_x86_64.whl
Collecting six>=1.10.0 (from tensorflow==1.0.1)
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting protobuf>=3.1.0 (from tensorflow==1.0.1)
Downloading protobuf-3.3.0-cp36-cp36m-manylinux1_x86_64.whl (5.7MB)
100% |████████████████████████████████| 5.7MB 99kB/s
Collecting wheel>=0.26 (from tensorflow==1.0.1)
Using cached wheel-0.29.0-py2.py3-none-any.whl
Collecting numpy>=1.11.0 (from tensorflow==1.0.1)
Downloading numpy-1.12.1-cp36-cp36m-manylinux1_x86_64.whl (16.8MB)
100% |████████████████████████████████| 16.8MB 43kB/s
Collecting setuptools (from protobuf>=3.1.0->tensorflow==1.0.1)
Using cached setuptools-36.0.1-py2.py3-none-any.whl
Installing collected packages: six, setuptools, protobuf, wheel, numpy, tensorflow
Successfully installed numpy-1.12.1 protobuf-3.3.0 setuptools-36.0.1 six-1.10.0 tensorflow-1.0.1 wheel-0.29.0
这里感谢:
http://blog.csdn.net/zhaohe1995/article/details/53364502?utm_source=itdadao&utm_medium=referral
- Cent OS 7安装Tensorflow
- cent os 7 下安装tensorflow
- cent os 5.5 安装
- Cent OS安装Samba
- cent os 安装
- cent os 安装jdk
- Cent OS 安装Spyder
- Cent OS JDK8安装
- Cent OS Tomcat8安装
- Cent OS安装Hadoop
- Cent OS安装Chrome
- vmware安装cent os
- Cent OS安装maven
- Cent OS 安装JDK
- cent os 主题安装
- cent os 下安装 svn
- cent os 系统盘安装 GCC
- Cent OS 上安装java
- Spring IOC注入方式和场景
- 外观设计模式1
- Linux下tar压缩和解压缩命令详解
- 2.1面向对象程序设计基础(2)
- SVD分解
- Cent OS 7安装Tensorflow
- ProgressBar进度条
- JSTL格式化日期时报错:According to TLD or attribute directive in tag file, attribute value does not accept an
- 偶数树 并查集
- java中接口之间的继承
- hibernate笔记-006-双向的一对一映射
- Linux任务定时服务——crond与crontab
- static详解
- 一个支持memcache协议的支持在线批量更新的kv数据库(适用于推荐引擎)