Convert the python program to exe through pyinstaller and run normally on this computer, but an error is reported when running on other computers:
[importerror]: DLL load failed while importing_ Socket: parameter error
as shown in the following figure:
found many places without solutions
Finally, only the pyinstaller is reduced to 3.6, and the python version is also reduced to 3.6.8
Everything is normal after re-conversion!
Read More:
- [Solved] Failed to obtain/convert traceback after Python Tkinter packages exe
- Python2.7 Pyinstaller Install Error: ERROR: Command errored out with exit status 1
- [Solved] Pyinstaller packaged exe error: “failed to execute script XXX”
- The solution of no such file or directory and cannot load native module running error of python3 pyinstaller after packaging
- [Solved] Pyinstaller package opencv error: ImportError: OpenCV loader: missing configuration file: [‘config.py’]. Check OpenCV installation.
- [Solved] Django Error: Attributeerror: ‘wsgirequest’ object has no attribute ‘is_ajax ‘
- [Solved] Pyinstaller Package and Run Error: RuntimeError: Unable to open/read ui device
- [Solved] D2lzh_Pytorch Import error: importerror: DLL load failed while importing
- [Solved] Error: Please select a valid Python interpreter
- [How to Solve] pyinstaller failed to execute script
- [Solved] Pycham Error: non zero exit code (2)
- NameError: name “defaultParams“ is not defined [How to Solve]
- [Solved] Numpy Load Error: DLL load failed while importing _multiarray_umath: Could not be found Module
- How to Solve PyInstaller Package Error: ModuleNotFoundError: No module named ‘xxxx‘
- Pycharm error: original error was: DLL load failed while importing _multiarray _Umath: the specified module could not be found
- [Modified] AttributeError: ‘socket‘ object has no attribute ‘ioctl‘ python linux
- [Solved] ModuleNotFoundError: No module named ‘pip‘
- Python Use PIP to install pyinstaller Error [Solved]
- [Solved] PyInstaller Error: ValueError: too many values to unpack
- [Solved] DLL load failed while importing _sqlite3: the specified module could not be found.