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

Install fails with python3.9: RPI.GPIO only works with special flag #118

Open
s00500 opened this issue Jan 4, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@s00500
Copy link

s00500 commented Jan 4, 2022

Do not remove fields, answer them, otherwise your bug will be reported as invalid and closed

How I did start SLC, with what arguments
python main.py

Led device name
ReSpeaker2

The bug
Hi, I was installing this on the newest RaspberryPi OS, that ships with python 3.9, and the install step failed, as the native compile for RPI.GPIO package failed

Following this stack overflow issue I added CFLAGS=-fcommon to the pip install inside the VENV, that solved the problem just fine

https://askubuntu.com/questions/1290037/error-while-installing-rpi-gpio-as-error-command-errored-out-with-exit-status

Just wanted to report this here :-)

Debug output
...

To Reproduce
Just install the version from the 3.0.0 Branch

@Psychokiller1888
Copy link
Member

Nice, thank you very much!

@Psychokiller1888 Psychokiller1888 added the enhancement New feature or request label Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants