Difference between revisions of "Python: Anaconda - Install"

From OnnoWiki
Jump to navigation Jump to search
Line 21: Line 21:
 
  [/root/anaconda2] >>>  
 
  [/root/anaconda2] >>>  
 
  PREFIX=/root/anaconda2
 
  PREFIX=/root/anaconda2
 +
 +
 +
Edit
 +
 +
vi /root/.bashrc
 +
 +
Tambahkan
 +
 +
export PATH=/root/anaconda2/bin:$PATH

Revision as of 14:00, 27 November 2015

  • Download Installer
https://www.continuum.io/downloads
  • Cek versi Python
python -V
  • Untuk Python 2.7:
bash Anaconda2-2.4.0-Linux-x86_64.sh
  • Untuk Python 3.5:
bash Anaconda3-2.4.0-Linux-x86_64.sh


Jika kita menggunakan root untuk menginstalasi Anaconda maka

[/root/anaconda2] >>> 
PREFIX=/root/anaconda2


Edit

vi /root/.bashrc

Tambahkan

export PATH=/root/anaconda2/bin:$PATH