By default, all our systems have the default Python that came with the operating system. This will work for simple scripts.
Users that need iPython or additional modules should load the appropriate Anaconda Python module. These modules provide NumPy, SciPy, matplotlib, PANDAS, etc.
To get Anaconda w/ Python 3.x, run:
module load python
To get Anaconda with Python 2.7, run:
module load python/2.7
If you require Python packages beyond those installed, just ask.
User-installed Python packages
Advanced Python users that want to install their own packages have a couple of options:
- Users can create their own Python environments via Anaconda Python:
conda env --name name_of_environment
source activate name_of_environment
conda install package_names
- Users needing even more control can install their own copy of Anaconda Python in their home directory and modify their
PATHto use it.