Tensorflow安装

安装Ubuntu 省略...

Python

安装pip或pip3

sudo apt-get insatll python-pip python-dev

or:

sudo apt-get insatll python3-pip python3-dev


配置~/.pip/pip.conf 主要是配置镜像 不然用国外的源一定会欲仙欲死!!!!!

pipy国内镜像目前有:
https://pypi.douban.com/  豆瓣
https://pypi.hustunique.com/  华中理工大学( 好像不行了)
https://pypi.sdutlinux.org/  山东理工大学( 好像不行了)
https://pypi.mirrors.ustc.edu.cn/  中国科学技术大学

配置文件的内容:
sudo vim ~/.pip/pip.conf
[global]
index-url = https://pypi.douban.com/simple
timeout = 1000
[install]
use-mirrors = true
mirrors = https://pypi.douban.com

安装Tensorflow
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
or:
sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl

tensorflow网站
编辑hosts文件
64.233.188.121 www.tensorflow.org

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值