Several versions of Python are available on Oscar as modules. For Python 2, we recommend using the python/2.7.16 module. For Python 3, we recommend using the python/3.7.4 module. These modules include the
virtualenv commands, but do not include other common Python packages (e.g., SciPy, NumPy). This affords individual users complete control over the packages they are using, thereby avoiding issues that can arise when code written in Python requires specific versions of Python packages.
To use the recommend Python modules, use the following commands to load the relevant module:
module load python/2.7.16
module load python/3.7.4
Users can install any Python package they require by following the instructions given on the Installing Python Packages page.