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:

還可以將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版本

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM