1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

console/pyobjc and leopard

Posted by greg on Dec 13, 2007

Hello,
I am trying to use the console library, Appkit and pyobjC on os x leopard; there is some hours of difficulty to do this though ... maybe many-many hours so I ask the question? Does anyone know if there is a big insurrmountable issue here between leopard->pyobjc 1.4 OR pyobjc 2 and Nodebox?
Thanks for the really great Nodebox work!
Greg


 
Posted by Petro on Jun 10, 2008

I installed Nodebox to use with console. So, after installing Nodebox from svn, I installed PyObjC-2.

The simple rectangle drawing program works and saves the .png file. I can't get the QTKit part to work to make the movie.

The other thing I should note is that I am using Python 2.5 from Macports.



Posted by David Elliott on Dec 07, 2009

I'm using Python 2.6 and PyObjC-2 both installed from macports, the rest of the stuff installed from the Nodebox SVN trunk, when trying the movie example I get this error relating to QTKit:

>>> from nodebox.util.QTSupport import Movie
Traceback (most recent call last):
  File "", line 1, in 
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nodebox/util/QTSupport.py", line 5, in 
    from QTKit import QTMovie, QTDataReference, QTMovieFileNameAttribute, QTMakeTimeRange, QTMakeTime, QTMovieEditableAttribute, QTAddImageCodecType, QTMovieFlatten
ImportError: No module named QTKit
Does anyone have a solution to this?