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
The HLRN-IV provides two Anaconda Python distributions. 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 below.
- 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
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 HLRN nodes. This version, however, is not actively maintained by HLRN staff – no version updates, no extensions.
Installed Python Packages
Package | HLRN Python environment module | |
---|---|---|
anaconda2/2019.03 | anaconda3/2019.03 | |
NumPy | 1.16.2 | 1.16.2 |
nose | 1.3.7 | 1.3.7 |
SciPy | 1.2.1 | 1.2.1 |
matplotlib | 2.2.3 | 3.0.3 |
SIP | 4.19.8 | 4.19.8 |
PyQt | 5.9.2 | 5.9.2 |
pycairo | 1.18.0 | 1.18.1 |
PyGTK | 2.24.0 | |
wxPython | 4.0.4 | 4.0.4 |
PyYAML/LibYAML | 5.1/0.1.7 | 5.1/0.1.7 |
lxml | 4.3.2 | 4.3.2 |
docutils | 0.14 | 0.14 |
Sphinx | 1.8.5 | 1.8.5 |
iPython | 5.8.0 | 7.4.0 |
SQLite | 3.27.2 | 3.27.2 |
VTK | 6.3.0 | |
netcdf4-python | 1.4.2 | 1.4.2 |
basemap | 1.2.0 | 1.2.0 |
Mako | 1.0.9 | 1.0.9 |
h5py | 2.9.0 | 2.9.0 |
scikit-image | 0.14.2 | 0.14.2 |
Cython | 0.29.6 | 0.29.6 |
pytest | 4.3.1 | 4.3.1 |
pandas | 0.24.2 | 0.24.2 |
GDAL | 2.0.0 | |
Shapely | 1.6.4 | 1.6.5 |
yt | 3.4.1 | 3.4.1 |
xarray | 0.11.3 | 0.12.1 |
datashader | 0.7.0 | 0.7.0 |
pigz | 2.4 | 2.4 |
Meson | 0.51.2 | |
Ninja | 1.9.0 | |
PyVista | 0.22.4 | |
Scooby | 0.4.3 | |
libthoera | 1.1.1 | |
appdirs | 1.4.3 | |
jsoncpp | 1.8.4 | |
libogg | 1.3.2 | |
libvorbis | 1.3.5 | |
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