MattIPv4 / PyDMXControl

A Python 3 module to control DMX using OpenDMX or uDMX - Featuring fixture profiles, built-in effects and a web control panel.
https://pypi.org/project/PyDMXControl/
GNU General Public License v3.0
114 stars 22 forks source link

No backend available #42

Closed PrincesseLulu closed 1 year ago

PrincesseLulu commented 1 year ago

Hello, just install from pip with python 3.11.1 and i got an error when i try to use PyDMXController.

image

Can you help me ? I wan't use this lib for a xmas project, i'm afraid about time if I keep blocked.

Thanks by advance for your help !

MattIPv4 commented 1 year ago

👋 Do you have an OpenDMX-compatible USB device connected?

MattIPv4 commented 1 year ago

You may want to pass ftdi_vendor_id and/or ftdi_product_id and/or ftdi_serial with specific values for you device to help locate it into OpenDMXController(). The code defaults to 0x0403 for the vendor id and 0x6001 for the product id:

https://github.com/MattIPv4/PyDMXControl/blob/c955a196c0c5091c2a5b070f3ab6b887e5cdfbc4/PyDMXControl/controllers/_OpenDMXController.py#L17-L21

https://github.com/MattIPv4/PyDMXControl/blob/c955a196c0c5091c2a5b070f3ab6b887e5cdfbc4/PyDMXControl/controllers/_OpenDMXController.py#L38-L39

PrincesseLulu commented 1 year ago

This is not better, but with de short time that I got I finnaly use a c# library. Thanks for your help.

mbalasso commented 1 year ago

Hi there, I had the same issue with Enttec OpenDMX USB on macOs, fixed by setting the LD_LIBRARY_PATH as mentioned here https://eblot.github.io/pyftdi/troubleshooting.html#error-no-backend-available

Cheers