Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exe file error
#1
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]
Reply
#2
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
Reply
#3
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
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020