After compiling the program using pyinstaller when you run the .exe file, this error is generated. In my program, the module names are all in English, do not contain Unicode characters. Python 2.7 32x Windows 7 and 8. What is the problem? How to fix?

 C:\Users\user\dist>sb Traceback (most recent call last): File "sb.py", line 15, in <module> File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module exec(bytecode, module.__dict__) File "site-packages\pygame\__init__.py", line 95, in <module> File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 546, in load_module module = imp.load_module(fullname, fp, filename, ext_tuple) ImportError: DLL load failed: Ššþø÷þ°õû žñþù ò ÿšþóšðüüõ øýø¡øðûø÷ð¡øø ñøñûøþªõú ø ôøýðüø¢õžúþù úþüÿþýþòúø (DLL). Failed to execute script sb 

I used pyinstaller like this: путь_к_pyinstaller путь_к_py_файлу_программы

  • where did you see the path here? ImportError: DLL load failed, further explanation of the error with an encoding error. - Igor
  • @Igor, this is the launch of the compiled program - Mihail Ris
  • do not contain unicode characters - nothing is said about them in the error. Because of the locale of Russia, the conclusion that this error is displayed in the Russian text. - Igor
  • What is the problem? How to fix? ImportError: DLL load failed - the library is not loaded, if you do not connect anything extra, it means that not all the necessary dependencies are indicated during the build. - Igor
  • @Igor, pygame, numpy, noise libraries are used - Mihail Ris

0