November 19th, 2003, 05:38 AM
py2exe: Carbon.Folder (etc) modules not found
Py2exe didnot work and produced the following warnings:
The following modules were not found:
After that py2exe decided to quit.
I am using Python23 and Windows2000. I thought the Carbon modules are used for Macs, so I don't get why I should use them.
I was trying to build VideoCapture.py from Markus Gritsch. I use the following setup:
from distutils.core import setup
and run it with python setup.py py2exe --icon Camelot.ico
Can you help me with this?
November 19th, 2003, 05:56 AM
Mmmm, just a little comfused. the VideoCapture module was built for win32 which makes this error very strange.. it shouldnt even be trying to use the Carbon module and fcntl is a *nix module
One question, I'm a little unsure why you're trying to compile the module with py2exe? I havn't really used/heard of this module before so forgive my ignorance on this one
Edit: you could try searching VideoCapture (and the modules it imports) for referances to these modules.. you could also try forcing Py2exe not too include them!
Last edited by netytan; November 19th, 2003 at 06:01 AM.
November 19th, 2003, 09:49 AM
I would force py2exe to not include those modules. Like Mark said, the VideoCapture calls are what is calling the Carbon module.
Basically I would do a specific search for those modules. Does your program run without being turned into an .exe?