trying to open what i started from Mac on Windows
My partner created a Python&PyQt5 program on his Macintosh and he sent me the whole file. (as in Zip) I have unlocked it and is trying to open it on Python3.7
we used the same version of Python and PyQt5. but i have trouble.
I keep getting the error saying "This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. "
so I have tried to reinstall it via 'cmd'. you know, pip install ..etc
it still doesn't work.. could anyone help me? :(( it's pretty urgent
Hi and welcome to devnet,
How exactly did you install Qt and PyQt5.
i opened cmd,
- typed in
"cd C:\users..etc." <-- location of my Python 37 script
- pip install PyQt5
- pip install PyQt5-tools
- typed in
@SGaist Am I being too vague with my question? what else should I be explaining? T.T
Which exact versions did you get ?
Did you try to start a small dummy Qt application ?
@SGaist I don't know what dummy Qt application...
PyQt5 and Python 3.7 32bit
#!/usr/bin/env python import sys from PyQt5.QtWidgets import QApplication from PyQt5.QtWidgets import QWidget if __name__ == "__main__": app = QApplication(sys.argv) widget = QWidget() widget.show() sys.exit(app.exec_())