Python
An Overview over the different Python Versions available on our System
Description
Python is a powerful programming and scripting language. Its standard library already covers a wide range of tools and facilities. In addition, many third-party software packages created for different purposes are available for Python.
Python Versions and Module Files
We provide several Anaconda Python installations.
Emmy:
- Python version 2.7.16 (from Anaconda 2019.03):
module load anaconda2/2019.03 - Python version 3.7.3 (from Anaconda 2019.03):
module load anaconda3/2019.03 - Python version 3.8.5 (from Anaconda 2020.11):
module load anaconda3/2020.11
Lise:
- Python version 2.7.16 (from Anaconda 2019.10):
module load anaconda2/2019.10 - Python version 3.7.4 (from Anaconda 2019.10):
module load anaconda3/2019.10
Even when none of the Python modules is loaded, Python can still be invoked. In this case, version 2.7.5 of Python is used which is available as part of the operating system on all nodes. This version, however, is not actively maintained – no version updates, no extensions.
Many packages and Python extensions are available in Anaconda base installations by default. Some packages have been added manually upon user request, please see the table in the next section.
Installed Python Packages
Package | Python environment module (Emmy) | ||
---|---|---|---|
anaconda2/2019.03 | anaconda3/2019.03 | anaconda3/2020.11 | |
NumPy | 1.16.2 | 1.16.2 | 1.19.2 |
nose | 1.3.7 | 1.3.7 | 1.3.7 |
SciPy | 1.2.1 | 1.2.1 | 1.5.2 |
matplotlib | 2.2.3 | 3.0.3 | 3.3.2 |
SIP | 4.19.8 | 4.19.8 | 4.19.13 |
PyQt | 5.9.2 | 5.9.2 | 5.9.2 |
pycairo | 1.18.0 | 1.18.1 | 1.19.1 |
PyGTK | 2.24.0 | ||
wxPython | 4.0.4 | 4.0.4 | |
PyYAML/LibYAML | 5.1/0.1.7 | 5.1/0.1.7 | 5.3.1 |
lxml | 4.3.2 | 4.3.2 | 4.6.1 |
docutils | 0.14 | 0.14 | 0.16 |
Sphinx | 1.8.5 | 1.8.5 | 3.2.1 |
iPython | 5.8.0 | 7.4.0 | 7.19 |
SQLite | 3.27.2 | 3.27.2 | 3.33.0 |
VTK | 6.3.0 | ||
netcdf4-python | 1.4.2 | 1.4.2 | 1.5.3 |
basemap | 1.2.0 | 1.2.0 | 1.2.0 |
Mako | 1.0.9 | 1.0.9 | 1.1.4 |
h5py | 2.9.0 | 2.9.0 | 2.10 |
scikit-image | 0.14.2 | 0.14.2 | 0.17.2 |
Cython | 0.29.6 | 0.29.6 | 0.29.21 |
pytest | 4.3.1 | 4.3.1 | 6.1.1 |
pandas | 0.24.2 | 0.24.2 | 1.1.3 |
GDAL | 2.0.0 | ||
Shapely | 1.6.4 | 1.6.5 | 1.7.1 |
yt | 3.4.1 | 3.4.1 | 3.6.1 |
xarray | 0.11.3 | 0.12.1 | 0.17.0 |
datashader | 0.7.0 | 0.7.0 | 0.12.1 |
pigz | 2.4 | 2.4 | 2.4 |
Meson | 0.51.2 | 0.58.0 | |
Ninja | 1.9.0 | 1.10.2 | |
PyVista | 0.22.4 | ||
Scooby | 0.4.3 | 0.5.7 | |
libthoera | 1.1.1 | ||
appdirs | 1.4.3 | 1.4.4 | |
jsoncpp | 1.8.4 | 1.9.4 | |
libogg | 1.3.2 | 1.3.4 | |
libvorbis | 1.3.5 | 1.3.7 | |
vtk | 8.2.0 |
SciPy adn NumPy are linked against Intel MKL for performance optimization
Requests for the installation of other Python extensions or Anaconda packages can be sent to our support.
Intel Distribution for Python
The current Anaconda installation contain Intel Distribution for Python(IDP). To initialise the shell and set the conda base environment use the command
source $CONDASH
You can list the available conda environments by the command
conda env list
To activate the IDP environment use the command
conda activate intelpython
To deactivate a conda environment use the command
conda deactivate