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

[Feature Request] Python 3 support #22

Open
dieseltravis opened this issue Mar 23, 2021 · 1 comment
Open

[Feature Request] Python 3 support #22

dieseltravis opened this issue Mar 23, 2021 · 1 comment

Comments

@dieseltravis
Copy link
Contributor

I am not sure what is involved with updating unfortunately.

~ $ python3 /usr/local/bin/listen-for-shutdown.py
Traceback (most recent call last):
  File "/usr/local/bin/listen-for-shutdown.py", line 4, in <module>
    import RPi.GPIO as GPIO
ModuleNotFoundError: No module named 'RPi'
@dieseltravis
Copy link
Contributor Author

I think I fixed it locally by running this:
sudo apt-get install python3-rpi.gpio

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

1 participant