Anaconda Scientific Python Distribtuion
Overview
Anaconda is a completely free enterprise-ready Python distribution for large-scale data processing, predictive analytics, and scientific computing general-purpose statistical software package. It has 100+ of the most popular Python packages for science, math, engineering, data analysis.
Anaconda3 versions 2019.07 5.0.1 & 2.3.0 are available
The following versions prior to Anaconda3 are also available 2.5.0, 2.3.0, 2.1.0 and 1.9.2, 1.9.1 and 1.8.0.
Please consult the list of packages for details of what is available in the most recent version or on the iCSF (after loading the one you wish to use) type:
conda list
Note: none of the python 2.6 or python 3.3 packages have been installed.
Restrictions on Use
None, but all users should read the End User License Agreement before using the software.
Set up procedure
Load the modulefile for the version you wish to use:
# Version of Python provided module load apps/binapps/anaconda3/2019.07 # 3.7.3 module load apps/binapps/anaconda3/5.0.1 # 3.6.3 module load apps/binapps/anaconda3/2.3.0 # 3.4.5 module load apps/binapps/anaconda/2.5.0 # 2.7.14 module load apps/binapps/anaconda/2.3.0 # 2.7.13 module load apps/binapps/anaconda/2.1.0 # 2.7.8 module load apps/binapps/anaconda/1.9.2 # 2.7.6 module load apps/binapps/anaconda/1.9.1 # 2.7.6 module load apps/binapps/anaconda/1.8.0 # 2.7.5
Running the application
Having loaded the appropriate modulefile you can create python scripts using your preferred editor and then run them using:
python mycode.py
where mycode.py
is the name of your script/program.
If you then move your code to the CSF you will need to run it in batch via a job submission script.
Adding packages
Anaconda packages
To see what is already installed:
conda list
To see if a package is available
conda list package
where package
is replaced with the name of the package you want. If the package is listed as available for install please contact: its-ri-team@manchester.ac.uk and we will try to add it to the central installation.
pip/pypi installation
pip install --user package
where package
is replaced with the name of the package you want. This will install the package to a hidden directory called .local
in your home directory. It should be automatically picked up by python, you can test thus:
python import package help (package)
Further information
- Anaconda Python documentation, FAQ, mailing list etc
- IT Services runs an Introduction to numerical computing with Python workshop approximately three times a year.
Updates
2.5.0 installed Nov 2017
2.1.0 installed Dec 2014.
1.9.2 installed July 2014.
1.9.1 installed 27th Feb 2014.