SunQuest
           Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old November 19th, 2003, 05:38 AM
acies acies is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Hilversum / Netherlands
Posts: 1 acies User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old November 19th, 2003, 05:56 AM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,529 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 17 h 19 m 5 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
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.
__________________
programming language development: www.netytan.com Hula


Last edited by netytan : November 19th, 2003 at 06:01 AM.

Reply With Quote
  #3  
Old November 19th, 2003, 09:49 AM
Hartmann's Avatar
Hartmann Hartmann is offline
chown python:users\ /world
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Texas Tech
Posts: 95 Hartmann User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > py2exe: Carbon.Folder (etc) modules not found


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway