Modify ↓
Ticket #494 (new defect)
pygame support broken in develop version?
| Reported by: | hugoruscitti@… | Owned by: | matysek |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | PyInstaller | Version: | develop |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by htgoebel) (diff)
Hi, i made a simple pygame script, but when i run the generated binary it's not run property.
It's says "ImportError?: No module named pygame.colordict", so if i include this module in my script, then the new generated binary says "NotImplementedError?: display module not available".
command runned::
----------------
pyinstaller.py test.py
game.py::
---------
import pygame
from pygame.locals import *
import pygame.colordict
def main():
pygame.init()
screen = pygame.display.set_mode((640, 480))
done = False
while not done:
pygame.display.flip()
events = pygame.event.get( )
for e in events:
if e.type == QUIT:
done = True
elif e.type == KEYDOWN:
if( e.key == K_ESCAPE ):
done = True
return
if __name__=="__main__":
main()
------------------
Attachments
Note: See
TracTickets for help on using
tickets.

This looks like the package is not packed. Please submit more information, see <HowtoReportBugs#Beforesubmittingareport:Makesureeverythingispackaged>
As pygame changed API in development-versions (see #406) , please test other versions of pygame.