I have written an application that accesses the api of a service and retrieves data from it, displaying it in a GUI written using the PyQt5 library. I need to install this application on all computers in our office.
The application works fine on my Fedora Linux platform. It runs on my second PC with Windows 10 and Windows 11. But on some PCs (windows 10) I get an error when running the python app.py program:
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in """ This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
I reinstalled PyQt5 with the command -
pip install pyqt5
This had no effect and I was getting the same message.
I also copied the qwindows.dll file from the platforms directory to the root as advised by ChatGpt. This had no affect as well.
Thanks for the help.