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

pip install not working? #39

Closed static75 closed 1 year ago

static75 commented 1 year ago

pip install -U PyDMXControl Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting PyDMXControl Could not find a version that satisfies the requirement PyDMXControl (from versions: ) No matching distribution found for PyDMXControl

MattIPv4 commented 1 year ago

🤔 The package is definitely available on PyPI: https://pypi.org/project/PyDMXControl/

And it is present in the simple index:

curl -Ls https://pypi.org/simple/ | grep PyDMXControl
    <a href="/simple/pydmxcontrol/">PyDMXControl</a>
MattIPv4 commented 1 year ago

What version of Python and Pip are you using here?

static75 commented 1 year ago

Python 3.7.3 (Thonny), 2.7.16 (command line), pip 18.1

On Sun, Aug 28, 2022 at 6:36 PM Matt Cowley @.***> wrote:

What version of Python and Pip are you using here?

— Reply to this email directly, view it on GitHub https://github.com/MattIPv4/PyDMXControl/issues/39#issuecomment-1229568585, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW4QR7DIFFCGGJPJLXMJPMDV3PSWVANCNFSM573ZRQZA . You are receiving this because you authored the thread.Message ID: @.***>

MattIPv4 commented 1 year ago

How are you invoking pip? Could it be that the pip you're invoking is for the Python 2 install? Maybe try python3 -m pip install -U PyDMXControl?

static75 commented 1 year ago

I got it to install using pip3 instead! Next issue: I get "No usb device opened" error when it tries to run dmx = uDMXController()

On Sun, Aug 28, 2022 at 7:13 PM Matt Cowley @.***> wrote:

How are you invoking pip? Could it be that the pip you're invoking is for the Python 2 install? Maybe try python3 -m pip install -U PyDMXControl?

— Reply to this email directly, view it on GitHub https://github.com/MattIPv4/PyDMXControl/issues/39#issuecomment-1229574592, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW4QR7H25DEY2JCVUHIZ6SDV3PXBFANCNFSM573ZRQZA . You are receiving this because you authored the thread.Message ID: @.***>

MattIPv4 commented 1 year ago

Hm, that'd suggest that the uDMX device (assuming you've got one connected) isn't being detected by PyUSB. Do you have the correct drivers installed for the uDMX device you have?

static75 commented 1 year ago

I have a USB-to-DMX cable attached to the RPI. I know the cable works because I tested it with my windows laptop and Freestyler to connect to my ADJ light fixture to control pan, tilt, dimmer, etc. I'm now trying to control the same ADJ light fixture with the same cable from the USB port of the RPI. I'm probably missing a very simple step to make it work.

On Tue, Aug 30, 2022 at 7:24 AM Matt Cowley @.***> wrote:

Hm, that'd suggest that the uDMX device (assuming you've got one connected) isn't being detected by PyUSB. Do you have the correct drivers installed for the uDMX device you have?

— Reply to this email directly, view it on GitHub https://github.com/MattIPv4/PyDMXControl/issues/39#issuecomment-1231530737, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW4QR7AYBJN5IKHPFD5PNPDV3XVPFANCNFSM573ZRQZA . You are receiving this because you authored the thread.Message ID: @.***>

MattIPv4 commented 1 year ago

Closing out as the original issue this was created for was resolved, and I'm not sure I can provide much help on driver-specific issues with devices.