Installation#

Requirements: Python 3.7+.

Using pip#

pip install easy-slurm

Using poetry#

First, clone the repository:

git clone "https://github.com/YodaEmbedding/easy-slurm.git" easy-slurm

Poetry helps manage version-pinned virtual environments. First, install Poetry:

curl -sSL https://install.python-poetry.org | python3 -

Then, create the virtual environment and install the required Python packages:

cd easy-slurm

# Install Python packages to new virtual environment.
poetry install
echo "Virtual environment created in $(poetry env list --full-path)"

To activate the virtual environment, run:

poetry shell