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
121 stars 23 forks source link

Cannot import 'OpenDMXController' #38

Closed Schaggo closed 2 years ago

Schaggo commented 2 years ago

Hi,

I am trying to get started with DMX via python. After installing the package I seem to be missing some files.

using from PyDMXControl.controllers import OpenDMXController exits with ImportError: cannot import name 'OpenDMXController' from 'PyDMXControl.controllers' (/home/pi/startup/env/lib/python3.9/site-packages/PyDMXControl/controllers/__init__.py)

Do I have to install the package in a specific location?

Schaggo commented 2 years ago

I just replaced all the files in the local site-package location with the files in the repo and it seems to work.

MattIPv4 commented 2 years ago

Hey! Looks like you got this solved, but just wanted to note that the OpenDMX controller is not yet released on PyPi, so you'll want to follow the instructions in the README to install from this repo if you're looking to use it before I publish the 3.0.0 release (no ETA currently).

Schaggo commented 2 years ago

I did install it as described in the Readme. Stuff seems to be working - packets are being sent, lights turn on and off. Thanks again!