简体   繁体   中英

Python, pygame, py2exe

I can't make this .py .exe help me. i have python34 installed on windows 7 - 32 bits

This is a Snake.py simple game and i can't convert it using py2exe. i looked in google and stackoverflow and everywhere else but couldn't fix it. i get this error when trying to convert the script.

The error: http://pastebin.com/uRHpg1B8

And this is my game: http://pastebin.com/R6A89Nhe

Well, based on your error output, it looks like you are missing several packages which are important for pygame to function. Error output duplicated below, for future reference.

  8 missing Modules
  ------------------
? MacOS                               imported from pygame.macosx
? Numeric                             imported from pygame
? OpenGL                              imported from pygame
? Py25Queue                           imported from pygame.threads
? Queue                               imported from pygame.threads
? numpy                               imported from pygame, pygame._numpysndarra
y, pygame._numpysurfarray
? packaging                           imported from pkg_resources
? readline                            imported from cmd, code, pdb

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM