Skip to content
Helen Burns edited this page Aug 19, 2018 · 2 revisions

Anaconda

Installation

Download Here

For linux machines:

chmod 755 Anaconda-2.0.1-Linux-x86.sh
bash Anaconda-2.0.1-Linux-x86.sh

(in csh you may need to type ./Anaconda-2.0.1-Linux-x86.sh)

Once it's installed it'll add a line to your .bashrc

If you are on a system using csh add the following to your .cshrc:

setenv PYTHONPATH "/pathtohomedir/$USER/anaconda/bin"
setenv PATH "/pathtohomedir/$USER/anaconda/bin:${PATH}"

You can check this all fine by typing:

which ipython

It should now point to your anaconda GREAT!

NB

Anaconda is pretty big so you might want to clear some space:

conda clean -t # Will remove tarballs
conda clean -p # Will remove packages

Installing packages

Keeping up-to-date:

conda update conda
conda update anaconda

For Ocean and Climate Science you'll most likely need to install the netcdf4 package:

conda install netcdf4

Spyder

If you want a nice GUI interface Anaconda comes with spyder. Very much like a Matlab editor.

PEP8 formatting plugins can be installed and profiling can be done from the console.

Clone this wiki locally