首先从ubuntu14.04的安装讲起

1.下载ubuntu14.04 64位的系统,下载地址如下:

http://www.ubuntu.com/download/desktop

2.下载好64位的ubuntu系统之后自制U盘安装工具,这里选用ultraiso(软碟通)来制作,具体步骤请参考:

http://jingyan.baidu.com/article/95c9d20dabb647ec4f756140.html

3.安装ubuntu14.04

注意:安装完成后可

下面开始安装tensorflow,具体步骤参考下面的官方教程:

https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/get_started/os_setup.md

————————————————————————————————————————————

下面说一下安装过程中可能会碰到的问题

1.执行下面的命令的时候,可能会提示你安装包依赖的问题,这时要做一个操作,就是在终端输入命令:sudo apt-get update,进行更新

如果更新时遇到问题说源无效,或者说无法下载。。。那么就说明你的ubuntu系统的源有问题,此时要对源进行一些更改,命令:sudo gedit /etc/apt/sources.list,

这里一定要注意是sources.list而不是source.list,打开sources.list之后,

把里面的内容换成你想添加的源

(例如你想把源改成如下这些,这些是官方的源很好用,直接把下面的deb开头的东西复制到你的sources.list里面,保存,然后sudo apt-get update就OK了)

 

deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

 

 

sudo apt-get install python-pip python-dev python-virtualenv
posted on 2018-02-27 10:52  六翅天蚕  阅读(229)  评论(0编辑  收藏  举报