TomSchimansky / CustomTkinter

A modern and customizable python UI-library based on Tkinter
MIT License
11.56k stars 1.08k forks source link

Error while running my application : "pyi_rth_multiprocessing" #auto-py to exe #850

Closed anshu-create closed 1 year ago

anshu-create commented 1 year ago

something like this shows every time:

Traceback (most recent call last): File "PyInstaller\hooks\rthooks\pyi_rth_multiprocessing.py", line 12, in File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module File "multiprocessing__init__.py", line 16, in File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module File "multiprocessing\context.py", line 6, in File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module File "multiprocessing\reduction.py", line 16, in File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module File "socket.py", line 51, in ModuleNotFoundError: No module named '_socket'

please somebody help me! I had written the pyinstaller code given in the official document.

anshu-create commented 1 year ago

sorry, it was a mistake, I am literally a beginner so when pyinstaller build the app I was going into the build folder to open the .exe then from searching here and there I got to know that there is [user\\dist\ ] then I clicked the file which then successfully executed :)

NOTE: YOU SHOULD FOLLOW THE OFFICIAL DOCUMENTATION TO AVOID ANY UNNECESSARY ERRORS