在Linux Ubuntu16.04中安装Tensorflow与keras

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sinat_37341950/article/details/83383112

1、首先快捷键ctrl+Alt+t打开终端界面,输入python,一般都是python2.7,这里安装python3.5

sudo apt-get install python3.5
sudo rm /usr/bin/python
sudo ln -s /usr/bin/python3.5 /usr/bin/python

2、安装Anaconda(python3.5对应Anaconda3-4.2.0-Linux-x86_64.sh)

wget https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh

输入下面的命令:

若显示如以下,则成功

3、安装Tensorflow

4、安装Keras

5、说到底还是挺顺利的。第一次装的时候遇到很多问题,这是第二次装,还是挺顺利的、

启动 jupyter notebook

有问题欢迎一起讨论学习,qq1346661664

猜你喜欢

转载自blog.csdn.net/sinat_37341950/article/details/83383112