DMX Python module

I’ve released my Python module for communicating with DMX devices. Its been tested with the ENTTEC USB Pro module. You can find the module in the Cheese Shop.



2 comments


    Kyle

    December 21, 2009

    having trouble with your module, maybe I’m missing something else, but when I try to import it, I get the following:

    >>> import dmx

    Traceback (most recent call last):
    File “”, line 1, in
    import dmx
    File “/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/dmx/__init__.py”, line 4, in
    import numpy
    File “/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/__init__.py”, line 132, in
    import add_newdocs
    File “/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/add_newdocs.py”, line 9, in
    from lib import add_newdoc
    File “/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/lib/__init__.py”, line 4, in
    from type_check import *
    File “/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/lib/type_check.py”, line 8, in
    import numpy.core.numeric as _nx
    File “/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/__init__.py”, line 5, in
    import multiarray
    ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/multiarray.so, 2): no suitable image found. Did find:
    /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/multiarray.so: unknown required load command 0×80000022

    I appreciate your work on this, Python support for the Enttec Products is a bit slight as of now…

    Drew Perttula

    January 24, 2010

    For the record, I have a python interface to the ENTTEC Open DMX USB at http://bigasterisk.com/darcs/?r=light9;a=tree;f=/dmx_usb_module

    It’s not presented very well. http://bigasterisk.com/darcs/?r=light9;a=headblob;f=/light9/io/__init__.py#l57 is some code that uses the module.

    - drewp@bigasterisk.com

Leave a comment


Name

Email(will not be published)

Website

Your comment