By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,548 Members | 1,495 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,548 IT Pros & Developers. It's quick & easy.

Need Help Using py2exe

P: n/a
[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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.