参考: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:
还可以将keras包下载下来,下载地址:fchollet/keras
现在版本已经更新为 2.0.2
解压到cmd所在的文件夹下,在cmd中输入即可
python setup.py install
完成
然后:conda upgrade --all
升级工具,以防出错
然后执行anaconda-navigator
报错
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, xcb.
Reinstalling the application may fix this problem.
已放弃
然后执行:
conda update anaconda-navigator
PS:anaconda安装过程中,直接安装了对应的python版本