High-level programming language Python is an interpretable object-oriented scripting language that is widely used for scientific calculations, including data analysis and machine learning.
The cluster also includes IPython and Jupyter interfaces.
To be able to use the provided Python versions, no additional environment preparation is necessary. To use another Python version, we suggest using conda.
pip – a tool that allows to add a Python module (for example, NumPy) without administrator rights.
pip install --user numpy
Virtual enviroment (https://virtualenv.pypa.io/en/stable/userguide/) allows users to isolate various Python projects thus creating virtual working environments.
a. Create a virtual environment:
virtualenv --system-site-packages testenv
“–system-site-packages” – the modules already installed in the system will also be used (contrary to a completely clean environment):
b. Activate a virtual environment “testenv”:
c. Install modules in a virtual environment:
pip install numpy
d. Exit from the virtual environment:
Riga Technical University
12 Azenes Street, room 409, Riga, LV -1048, Latvia
1 Kalku Street, room 421, Riga, LV-1658, Latvia