This shows you the differences between two versions of the page.
| |
| habrok:software_environment:python:loading_python [2026/04/07 12:51] – created pedro | habrok:software_environment:python:loading_python [2026/05/04 11:09] (current) – [Libraries within the Python module] pedro |
|---|
| | |
| <WRAP center round tip> | <WRAP center round tip> |
| **TLDR** | **TL;DR** |
| |
| If you need to use a specific Python library on Hábrók, check if it already available before installing it in your user directories ''pip install''. Using the cluster-provided modules may be possible and these are compiled and optimised for the hardware so it can significantly speed up your computation. First, check whether the library is already available from the specific version of Python you loaded. If it is not, check whether the library is installed on Hábrók as a module with ''module avail library_name''. However, if the version you need is not available, which can happen with fast-moving libraries like TensorFlow, installing it yourself in a virtual environment is the right approach (see the [[habrok_internal:drafts:python:environments|Python Environments]] page). | If you need to use a specific Python library on Hábrók, check if it already available before installing it in your user directories ''pip install''. Using the cluster-provided modules may be possible and these are compiled and optimised for the hardware so it can significantly speed up your computation. First, check whether the library is already available from the specific version of Python you loaded. If it is not, check whether the library is installed on Hábrók as a module with ''module avail library_name''. However, if the version you need is not available, which can happen with fast-moving libraries like TensorFlow, installing it yourself in a virtual environment is the right approach (see the [[habrok_internal:drafts:python:environments|Python Environments]] page). |