User Tools

Site Tools


python:conda

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
python:conda [2018/02/12 13:00]
kauffman created
python:conda [2019/01/25 11:28] (current)
kauffman
Line 1: Line 1:
 +====== Anaconda ======
 +
 +===== Use system installed version =====
 +Conda is installed by default and you should be able to use it without doing anything.
 +
 +If it does not work for you automatically all you need to do is source the right file.
 <​code>​ <​code>​
 +$ source /​opt/​conda/​etc/​profile.d/​conda.sh
 +</​code>​
  
-kauffman3@hester2:​~$ wget https://​repo.continuum.io/​archive/​Anaconda3-5.0.1-Linux-x86_64.sh+You can then add the above ''​%%source%%''​ line to your shells configurations files. E.g. ''​%%.bash_profile%%''​. 
 + 
 + 
 + 
 +===== Install as user ===== 
 + 
 + 
 +<​code>​ 
 +$ wget https://​repo.continuum.io/​archive/​Anaconda3-5.0.1-Linux-x86_64.sh
 --2018-02-02 15:​48:​39-- ​ https://​repo.continuum.io/​archive/​Anaconda3-5.0.1-Linux-x86_64.sh --2018-02-02 15:​48:​39-- ​ https://​repo.continuum.io/​archive/​Anaconda3-5.0.1-Linux-x86_64.sh
 Resolving repo.continuum.io (repo.continuum.io)... 104.16.18.10,​ 104.16.19.10,​ 2400:​cb00:​2048:​1::​6810:​120a,​ ... Resolving repo.continuum.io (repo.continuum.io)... 104.16.18.10,​ 104.16.19.10,​ 2400:​cb00:​2048:​1::​6810:​120a,​ ...
Line 12: Line 28:
  
 2018-02-02 15:49:17 (14.1 MB/s) - ‘Anaconda3-5.0.1-Linux-x86_64.sh’ saved [550796553/​550796553] 2018-02-02 15:49:17 (14.1 MB/s) - ‘Anaconda3-5.0.1-Linux-x86_64.sh’ saved [550796553/​550796553]
 +</​code>​
  
-kauffman3@hester2:​~$ chmod +x Anaconda3-5.0.1-Linux-x86_64.sh ​+Make the file executable. 
 +<​code>​ 
 +$ chmod +x Anaconda3-5.0.1-Linux-x86_64.sh ​
 ... ...
- +</​code>​ 
-kauffman3@hester2:​~$ ./​Anaconda3-5.0.1-Linux-x86_64.sh ​+<​code>​ 
 +$ ./​Anaconda3-5.0.1-Linux-x86_64.sh ​
 Do you accept the license terms? [yes|no] Do you accept the license terms? [yes|no]
 [no] >>>​ yes [no] >>>​ yes
  
 Anaconda3 will now be installed into this location: Anaconda3 will now be installed into this location:
-/home/kauffman3/anaconda3+/home/USERNAME/anaconda3
  
   - Press ENTER to confirm the location   - Press ENTER to confirm the location
Line 27: Line 47:
   - Or specify a different location below   - Or specify a different location below
  
-[/home/kauffman3/anaconda3] >>>​ /home/kauffman3/​.local/​anaconda3 +[/home/USERNAME/anaconda3] >>>​ /home/USERNAME/​.local/​anaconda3 
-PREFIX=/​home/​kauffman3/​.local/​anaconda3+PREFIX=/​home/​USERNAME/​.local/​anaconda3
 installing: python-3.6.3-hc9025b9_1 ... installing: python-3.6.3-hc9025b9_1 ...
 Python 3.6.3 :: Anaconda, Inc. Python 3.6.3 :: Anaconda, Inc.
Line 40: Line 60:
 installation finished. installation finished.
 Do you wish the installer to prepend the Anaconda3 install location Do you wish the installer to prepend the Anaconda3 install location
-to PATH in your /home/kauffman3/.bashrc ? [yes|no]+to PATH in your /home/USERNAME/.bashrc ? [yes|no]
 [no] >>>​ yes [no] >>>​ yes
  
-Appending source /home/kauffman3/​.local/​anaconda3/​bin/​activate in +Appending source /home/USERNAME/​.local/​anaconda3/​bin/​activate in 
-newly created /home/kauffman3/.bashrc+newly created /home/USERNAME/.bashrc
  
 For this change to become active, you have to open a new terminal. For this change to become active, you have to open a new terminal.
  
 Thank you for installing Anaconda3! Thank you for installing Anaconda3!
 +</​code>​
  
 +Assuming I have my .bashrc and .bash_profile/​.profile setup right I can do the following:
  
-### assuming I have my .bashrc and .bash_profile/​.profile setup right I can do the following:​ +<​code>​ 
- +$ which conda 
-kauffman3@hester2:​~$ which conda +/home/USERNAME/​.local/​anaconda3/​bin/​conda
-/home/kauffman3/​.local/​anaconda3/​bin/​conda+
 </​code>​ </​code>​
/var/lib/dokuwiki/data/attic/python/conda.1518462039.txt.gz · Last modified: 2018/02/12 13:00 by kauffman