The application raises a ModuleNotFoundError for 'PyQt5' when executing start.py because the PyQt5 library is not included in the project's requirements.txt. As a result, it is not automatically installed during the dependency installation process.
How to reproduce
Clone the repository.
Navigate to the project directory.
Install dependencies using pip install -r requirements.txt.
Run the application with python start.py.
Encounter the error:
ModuleNotFoundError: No module named 'PyQt5'
How to fix
Add PyQt5 to the requirements.txt file to ensure it is installed automatically when setting up the project. This change will allow users to install all necessary dependencies seamlessly, preventing the ModuleNotFoundError.
Steps:
Open the requirements.txt file.
Add the following line:
PyQt5>=5.15.7
Commit and push the changes.
This modification ensures that PyQt5 is included in the dependency installation process, resolving the import error when running start.py.
Resolves #36
Why the bug occurs
The application raises a
ModuleNotFoundError
for 'PyQt5' when executingstart.py
because thePyQt5
library is not included in the project'srequirements.txt
. As a result, it is not automatically installed during the dependency installation process.How to reproduce
pip install -r requirements.txt
.python start.py
.How to fix
Add
PyQt5
to therequirements.txt
file to ensure it is installed automatically when setting up the project. This change will allow users to install all necessary dependencies seamlessly, preventing theModuleNotFoundError
.Steps:
requirements.txt
file.This modification ensures that
PyQt5
is included in the dependency installation process, resolving the import error when runningstart.py
.Test these changes locally