Skip to main content

Python

Python is an interpreted, object-oriented, high-level programming language. Python is often used for rapid prototyping and is optimized for developer productivity. Python is developed under an OSI-approved open source license, making it freely usable and distributable, even for commercial use. Python's license is administered by the Python Software Foundation.

 

Python Versions

UHD's HPC cluster has Python 2.7.5 already installed by default. To get the latest version of Python 3, you will need to install Anaconda. Follow this guide to install Anaconda and the latest version of Python 3. To install another version of Python not listed, please contact IT to request a software installation.

While on the login node, you can check the version of python currently loaded using the following command: $ python --version

text inside terminal

To see all available versions of Python on the cluster, type in the following command: $ module avail

text inside terminal

To see more information on modules, such as loading and unloading modules, check out the Modules page.

Running Python

DO NOT USE PYTHON ON THE LOGIN NODE!!! Only Compiling Python packages or other non-computational tasks could be executed on the Login Node. Running computational code could potentially break the python environment.