-
Notifications
You must be signed in to change notification settings - Fork 11
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
Failing to use / import apigpio #13
Comments
async and await are now reserved keywords in Python 3.7: https://docs.python.org/3/whatsnew/3.7.html#summary-release-highlights. Afaik asyncio.ensure_future is the new method to use (does not work in early 3.4 but that is EOL anyway). |
The PR does not work for me. https://github.com/jabdoa2/apigpio/blob/patch-1/apigpio/apigpio.py#L475
https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.sock_sendall It needs a My gpio_test.py had the content of https://github.com/PierreRust/apigpio/blob/master/samples/gpio_write.py |
We moved to a different repository for our fork: https://github.com/missionpinball/apigpio We also publish it as apigpio-mpf Will look into your comment to see if it also affects that repo. |
@NNTin have a look at our maintained fork: https://github.com/missionpinball/apigpio. We also ship that to pypi: https://pypi.org/project/apigpio-mpf/ |
From missionpinball/mpf#1427
I then go on to try to import apigpio from python2 and python3 and get :
Seeing
from .apigpio import Pi
I was looking for a Pi.py in/usr/local/lib/python3.7/dist-packages/apigpio/
but couldn't fit it :The text was updated successfully, but these errors were encountered: