This project uses a virtual environment to manage dependencies. The setup process included:
-
Creating a virtual environment:
python3 -m venv .venv
-
Activating the virtual environment:
- On macOS/Linux:
source .venv/bin/activate - On Windows:
.venv\Scripts\activate
- On macOS/Linux:
-
Installing required dependencies:
pip install -r requirements.txt
-
Missing
openpyxlmodule- Error:
ModuleNotFoundError: No module named 'openpyxl' - Solution: Installed
openpyxlusing:pip install openpyxl
- Error:
-
Git push rejected due to remote updates
- Error:
! [rejected] main -> main (fetch first) error: failed to push some refs
- Solution: Pulled the latest changes first:
git pull --rebase origin main
- Then successfully pushed the code:
git push origin main
- Error:
Ensure the virtual environment is activated, then run:
python script.py