Steps 3-5 are optional if you don't want to use virtualenv.
-
Download the source code
If you know how to use Git, just clone this repo.
If you don't know how to use Git, download the files as a ZIP using this link. Extract the ZIP somewhere where you want to run the program.
-
Install Python 3.8 (or newer)
- Go to https://www.python.org/downloads and download the installer
- Run the installer and press "Install Now" (or something like that in macOS)
-
Install virtualenv (if not installed)
- Open cmd / terminal (on Windows search for / press Win+R and type
cmd
) - Run
py -m pip install virtualenv
(Windows) orpip3 install virtualenv
(Linux/macOS)
- Open cmd / terminal (on Windows search for / press Win+R and type
-
Create virtualenv
- Open cmd / terminal
- Navigate to the project folder (using the
cd
command) - Run
py -m virtualenv venv
(substitutepy
withpython3
on Linux/macOS)
-
Activate virtualenv
Windows: Run
venv\Scripts\activate
in the project folderLinux/macOS: Run
./venv/bin/activate
in the project folder -
Install dependencies
Run
pip install -r requirements.txt
-
Run
py main.py
(again, substitutepy
withpython3
if needed) -
Check the created
list.txt
for a listing of desserts with their ingredients