Ubuntu 下安装安装 Anaconda3 与Keras

参考:https://blog.csdn.net/qq_15192373/article/details/81091098

下载地址:

https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

我下载的是:Anaconda3-5.3.1-Linux-x86.sh 

安装:进入文件所在文件夹

直接./Anaconda3-5.3.1-Linux-x86.sh

全部Yes ,Enter

安装完成后执行:

cd ~ && source .bashrc

使环境变量生效

然后执行:python

查看版本信息:

n 3.7.0 (default, Jun 28 2018, 13:37:43)
[GCC 7.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

安装Keras:

pip install keras

完成

PS:anaconda安装过程中,直接安装了对应的python版本

猜你喜欢

转载自www.cnblogs.com/sankye/p/12888114.html
今日推荐