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_файлу_программы