Follow the steps below to set up your development environment:
-
Create a virtual environment
Use Python's built-in
venv
module to create a virtual environment. This isolates your project and its dependencies from other projects.python3 -m venv env
-
Activate the virtual environment
On Windows, run:
.\env\Scripts\activate
On Unix or MacOS, run:
source env/bin/activate
-
Install the dependencies
Use pip, a package manager for Python, to install the project's dependencies. These are listed in the requirements.txt file.
pip install -r requirements.txt
-
Run the tasks.py file
You can now run the tasks.py file with Python:
python tasks.py