470,604 Members | 2,293 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,604 developers. It's quick & easy.

Need Help Using py2exe

[Sorry if this is a duplicate message.]

Hi. I've got a neat artificial intelligence project I want to distribute
as an EXE. I'm using Python, Pygame, and Numeric. My problem is: When I
use py2exe, I'm told "The following modules appear to be missing: AppKit,
Foundation, dotblas, objc." And then my EXE crashes with a "segmentation
fault." I tried the command:

python setup.py py2exe --ignores [those modules]

It then compiles w/o complaint, but the EXE still crashes. The setup.py is
very simple:

from distutils.core import setup
import py2exe
setup(console=["NissIslandDemo.py"])

What do I need to do to make my program into a working EXE?

Thanks for any help.

-Kris

PS. The line that triggers the seg. fault is one that loads a font for
rendering with pygame.font. I *was* able to build a working EXE of a
simpler program that "imports" nothing but the string module and does only
text and data-structure manipulation, no graphics.

Jul 18 '05 #1
0 1151

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by RJS | last post: by
5 posts views Thread by Giles Brown | last post: by
6 posts views Thread by Luc Saffre | last post: by
5 posts views Thread by Tim Axtelle | last post: by
reply views Thread by upward_spiral2001 | last post: by
11 posts views Thread by Grant Edwards | last post: by
15 posts views Thread by James Stroud | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.