Skip to content

PREDICT-EPFL/mpc2025public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setting up the environment

  1. install conda using the distribution of your choice (Anaconda, miniconda, miniforge, etc.). If you don't know what to choose, we recommend miniforge. All should work as long as you have access to the conda executable in a fresh terminal. You can test it by running the following in a terminal:
conda info
  1. Clone this repo and create the environment to use for the semester.
git clone https://github.com/PREDICT-EPFL/mpc2025public
cd mpc2025public
conda create -n mpc2025 python=3.12 pip
conda activate mpc2025
pip install -r locked-requirements.txt

Updating the environment

If the locked-requirements.txt changes, pull the latest version of this repo, activate the environment again and simply reinstall the dependencies:

git pull
conda activate mpc2025
pip install -r locked-requirements.txt

Relocking the dependencies (for TAs)

If you have uv installed locally you can run

uv pip compile requirements.txt -o locked-requirements.txt --emit-find-links --universal --python-version 3.12

if not, you can simply manually trigger the lock requirements workflow on your branch, which will automatically relock the dependencies and push the changes if there are some.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published