User Tools

Site Tools


python

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
python [2014/09/24 11:46]
volker
python [2015/10/05 09:45] (current)
volker [Volker's Anaconda Installation]
Line 2: Line 2:
  
 Python can be pain to maintain on your own, especially if you require up-to-date packages. To get around this, there are a number of Python distributions that bundle packages. These work independent of the installation provided on your operating systems. The largest two are [[https://​enthought.com/​|Enthought Canopy]] and [[https://​store.continuum.io/​cshop/​anaconda/​|Anaconda]]. With a (free) academic license, you can install either in your own ICS home directory or your laptops. Python can be pain to maintain on your own, especially if you require up-to-date packages. To get around this, there are a number of Python distributions that bundle packages. These work independent of the installation provided on your operating systems. The largest two are [[https://​enthought.com/​|Enthought Canopy]] and [[https://​store.continuum.io/​cshop/​anaconda/​|Anaconda]]. With a (free) academic license, you can install either in your own ICS home directory or your laptops.
 +
 +===== Volker'​s Anaconda Installation =====
 +
 +:!:
 +
 +If you don't want to use the Enthough installation discussed below, you can also hijack Volker'​s personal Anaconda installation. To do so, simply append
 +
 +<​code>​
 +export PATH=/​home/​ics/​volker/​Anaconda/​bin:​$PATH
 +</​code>​
 +
 +to your the .bashrc file in home directory.
 +
 +===== Global Enthought Installation =====
  
 For convenience,​ we provide a site-wide installation of Enthought Canopy on the zBox. It comes with the most wanted packages (IPython/​Numpy/​Scipy/​Matplotlib/​Scikit). You can use it as follows. For convenience,​ we provide a site-wide installation of Enthought Canopy on the zBox. It comes with the most wanted packages (IPython/​Numpy/​Scipy/​Matplotlib/​Scikit). You can use it as follows.
Line 33: Line 47:
 Also note: Also note:
  
-  * Pynbody is installed for the SPH-junkies among you. +  * [[http://​pynbody.github.io/​|Pynbody]] is installed for the SPH-junkies among you. 
-  * Pymses/​amrviewer ​are also compiled. To use these, you need to add more lines to your .bashrc+  * [[http://​irfu.cea.fr/​Projets/​PYMSES/​intro.html|Pymses]] (with amrviewer) is also compiled. To use these, you need to add more lines to your .bashrc
  
 <​file>​ <​file>​
Line 49: Line 63:
 # If not running interactively,​ don't do anything # If not running interactively,​ don't do anything
 [ -z "​$PS1"​ ] && return [ -z "​$PS1"​ ] && return
-</file.+</file>
  
 If you have trouble and/or need more packages, feel free to mail Volker. If you have trouble and/or need more packages, feel free to mail Volker.
  
 If you use another shell (zsh, tcsh, ...), you can likely figure out the appropriate steps yourself. If you use another shell (zsh, tcsh, ...), you can likely figure out the appropriate steps yourself.
- 
python.1411551971.txt.gz · Last modified: 2014/09/24 11:46 by volker