Python Forum

Full Version: Exe file error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello .
when compiling a python file in exe using pyinstaller. this file does not open on other computers. despite the fact that on mine this file works fine.
while the program code is hello world
print ('hello word')
Error:
ImportError:DLL loadfailed while importing_socket:parameter not set [2492]Failed to execute script pyi_rth_multiprocessing
[Image: wu15A4emQ9iU4w]
ImportError:DLL loadfailed while importing_socket:parameter not set .
instead of parameter not set the error returns the parameter is set incorrectly.
ImportError:DLL loadfailed while importing_socket:parameter set incorrectly
Error:
C:\Users\Администратор>C:\xxx\xxx.exe Traceback (most recent call last): File "C:\Users\admin3\AppData\Local\Programs\Python\Python38-32\Lib\site-packa ges\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py", line 18, in <module> File "c:\users\admin3\appdata\local\programs\python\python38-32\lib\site-packa ges\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module File "multiprocessing\__init__.py", line 16, in <module> File "c:\users\admin3\appdata\local\programs\python\python38-32\lib\site-packa ges\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module File "multiprocessing\context.py", line 6, in <module> File "c:\users\admin3\appdata\local\programs\python\python38-32\lib\site-packa ges\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module File "multiprocessing\reduction.py", line 16, in <module> File "c:\users\admin3\appdata\local\programs\python\python38-32\lib\site-packa ges\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module File "socket.py", line 49, in <module> ImportError: DLL load failed while importing _socket: parameter set incorrectly. [2532] Failed to execute script pyi_rth_multiprocessing
Above put an update for windows. Put KB2533625 it worked. Check out the article. there is a solution github.com/jay0lee/got-your-back/issues/250