jackw01 / led-control

Advanced WS2812/SK6812 RGB/RGBW LED controller with on-the-fly Python animation programming, web code editor/control interface, 1D, 2D, and 3D display support, and E1.31 sACN support
https://jackw01.github.io/led-control/
MIT License
162 stars 35 forks source link

issu sudo command not working #54

Open PietKrobot opened 11 months ago

PietKrobot commented 11 months ago

hello i have no idea why my rasbpberry pi is not finding the ledcontrolmap is there annyone that can help me. And yeah sorry bit i am new to raspberry and coding and could defeneltly use som help <3 image

MrBurgerCZ commented 10 months ago

Same problem here

jackw01 commented 9 months ago

I can't see the entire setup.py output so I don't know what the issue is, but try switching to the main branch (git checkout master) and rerunning sudo python3 setup.py develop

MrOwl42 commented 9 months ago

Hi Jack, I've had the same issue. I tried your suggestion and got an error with that command. I've attached the txt as an example of everything that comes up on my raspberry pi 3b+.

Hope this helps! I would love to use it myself.

led-issue1.txt

jackw01 commented 9 months ago

Hi Jack, I've had the same issue. I tried your suggestion and got an error with that command. I've attached the txt as an example of everything that comes up on my raspberry pi 3b+.

Hope this helps! I would love to use it myself.

led-issue1.txt

Read the error message from sudo python3 setup.py develop, it looks like you need to install Python 3.9 or newer as that is required by numpy. If you don't want to do that, you can change the requirement in setup.py to numpy==1.21.0.

MrOwl42 commented 9 months ago

Thanks for the reply! I'm not sure if I should open a new issue or not, but I upgraded to Python 3.12.0. I got a warning now with incompatible function type which ended with the same warning of needs Python 3.9 or greater.

I'm very novice at this so I tried the numpy == 1.21.0 change, and got an error with cythonize.

led-issue2.txt

Much thanks

jackw01 commented 9 months ago

Based on the output you sent, you still have an older version of python installed and python3 is an alias for it, while python refers to the new python 3.12 installation. Try sudo python setup.py develop instead.