Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issu sudo command not working #54

Open
PietKrobot opened this issue Oct 8, 2023 · 6 comments
Open

issu sudo command not working #54

PietKrobot opened this issue Oct 8, 2023 · 6 comments

Comments

@PietKrobot
Copy link

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
Copy link

Same problem here

@jackw01
Copy link
Owner

jackw01 commented Nov 19, 2023

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
Copy link

MrOwl42 commented Nov 19, 2023

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
Copy link
Owner

jackw01 commented Nov 20, 2023

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
Copy link

MrOwl42 commented Nov 22, 2023

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
Copy link
Owner

jackw01 commented Nov 29, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants