0
Я попытался сделать exe из моей программы на python, используя py2exe. Проблема заключается в том, что, когда я пытаюсь запустить ехе, он дает мне ошибку:Python py2exe dll load fail mixer module недоступен
C:\Users\Eduard\Desktop\testordner>test.exe
test.exe:7: RuntimeWarning: use mixer: DLL load failed: Das
angegebene Modul wurde nicht gefunden.
(ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.)
Traceback (most recent call last):
File "test.py", line 7, in <module>
mixer.init()
File "pygame\__init__.pyc", line 70, in __getattr__
NotImplementedError: mixer module not available
(ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.)
Вот моя setupfile тоже:
from distutils.core import setup
import Tkinter as tk
from itertools import cycle
from pygame import mixer
import random
import py2exe
setup(console=[{"script":"test.py"}],options={"py2exe":{"includes":["pygame"]}})