Tensorflow-1.4.0版本安装

在linux环境下离线安装tensorflow
这里默认你已经安装了python3.5
tensorflow的安装包:地址:https://pypi.tuna.tsinghua.edu.cn/simple/tensorflow/
安装:pip3 install tensorflow-1.4.0-cp35-cp35m-manylinux1_x86_64.whl
注意:这里安装的tensorflow的版本一定要与你安装的python版本一致
执行完上述命令会出现:缺少各种安装包,我会在下面给出所需的安装包版本以及下载的地址。
1、six-1.10.0:下载地址:https://pypi.org/project/six/1.10.0/
2、wheel-0.31.1 下载地址:https://pypi.org/project/wheel/#files
3、protobuf-3.3.0 下载地址:https://pypi.tuna.tsinghua.edu.cn/simple/protobuf/
4、tensorflow_tensorboard-0.4.0rc2-py3-none-any.wh 下载地址:
https://pypi.tuna.tsinghua.edu.cn/simple/tensorflow-tensorboard/
5、bleach-1.5.0 下载地址:https://pypi.org/project/bleach/1.5.0/
6、html5lib-0.9999999 下载地址:https://pypi.org/project/html5lib/0.9999999/
7、tensorboard-1.0.0a4 下载地址:https://pypi.tuna.tsinghua.edu.cn/simple/tensorboard/
8、enum34-1.1.6 下载地址:https://pypi.org/project/enum34/
9、olefile-0.40 下载地址:https://pypi.org/project/olefile/0.40/
10、Werkzeug-0.14.1 下载地址:https://pypi.org/project/Werkzeug/
11、Markdown-2.6.11 下载地址:https://pypi.org/project/Markdown/
12、numpy-1.12.1 下载地址:https://pypi.org/project/numpy/
13、Pillow-4.0.0 下载地址:https://pypi.org/project/Pillow/4.0.0/
上面就是安装Tensorflow-1.4.0所需要的依赖包:如果是.tra.gz,需要切换到这个文件名下,那么就用这个命令:python3 setup.py install,如果是.whl,那么就用这个命令:pip3 install+文件名。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值