Hello i don't know what happen i have a simple program with a form , the main file is :
import sys from PyQt5 import * from PyQt5 import QtWidgets from form import Form app = QtWidgets.QApplication(sys.argv) form = Form() form.show() app.exec_() Than i run pyinstaller as usual : pyinstaller -- onefile --windowed main.py (As i do a lot of time), when i run the exe i get ModuleNotFoundError: No module named 'form' The file form is in the same folder of the main file. I use python 3.8.6 and pyqt 5.15.6 Any Idea Thanks -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/f063ce6a-fc2a-414e-92b2-b6d62cb9e0aan%40googlegroups.com.
