|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
py2exe: Carbon.Folder (etc) modules not found
Py2exe didnot work and produced the following warnings:
The following modules were not found: Carbon.Folder Carbon.Folders fcntl 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: # setup.py from distutils.core import setup import py2exe setup(name="Camelot", scripts=["VideoCapture.pyw"], data_files=[(".", ["Camelot.ico"])], ) and run it with python setup.py py2exe --icon Camelot.ico Can you help me with this? Thanks, Jo |
|
#2
|
||||
|
||||
|
Hi Jo,
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! Mark. Last edited by netytan : November 19th, 2003 at 06:01 AM. |
|
#3
|
||||
|
||||
|
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? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > py2exe: Carbon.Folder (etc) modules not found |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|