Prerequisites#
The exercise session requires the following pieces of software:
Docker Desktop: https://www.docker.com/products/docker-desktop/
Python 3.9: https://www.python.org/downloads/
An Integrated Development Environment (IDE) for python, e.g., VS Code or PyCharm; PyCharm is used by the teacher.
Download the repository from https://gitlab.cern.ch/mmacieje/icsc2023-mlops
if you have git use command:
git clone https://gitlab.cern.ch/mmacieje/icsc2023-mlops.git
Afterwards, setup your python virtual environment:
Open your preferred terminal and navigate to
icsc2023_mlops
folderInstall
virtualenv
in terminal withpip install --user virtualenv
Create a virtual environment to isolate python dependencies
python -m venv myenv
Activate virtual environment with
source myenv/bin/activate
Install all dependencies from
requirements.txt
filefor MacOS M1 and later please install
pip install -r web/requirements_macos_m1.txt
you may need installhdf5
, too: https://stackoverflow.com/questions/70587971/errorfailed-building-wheel-for-h5pyfailed-to-build-h5pyerrorcould-not-build-whfor other OS
pip install -r web/requirements.txt