-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
.\venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
- Install the required packages:
pip install -r requirements.txt
- To run any file, use the following command:
python filename.py