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

Failed to install RPi.GPIO package #402

Closed
bharat8 opened this issue Nov 26, 2020 · 7 comments
Closed

Failed to install RPi.GPIO package #402

bharat8 opened this issue Nov 26, 2020 · 7 comments
Labels

Comments

@bharat8
Copy link

bharat8 commented Nov 26, 2020

RPi.GPIO package can't be installed when developing the app. The command finished with non-zero exit value 1.
Please suggest some workarounds.

@bharat8 bharat8 changed the title Failed to install RPi.GPIO Failed to install RPi.GPIO package Nov 26, 2020
@mhsmith
Copy link
Member

mhsmith commented Nov 26, 2020

This package is specifically for the Raspberry Pi, so I don't think it could ever work on Android, unless you're using a heavily-modified device.

@mhsmith mhsmith closed this as completed Nov 26, 2020
@bharat8
Copy link
Author

bharat8 commented Nov 26, 2020

Yeah, Actually I was running android on raspberry pi and cant able to access GPIO on android via python. Can you suggest some workaround of accessing GPIO in android?

@mhsmith
Copy link
Member

mhsmith commented Nov 27, 2020

EDIT 2021-09: this offer is no longer available.

OK, we could build RPi.GPIO for you for $75, including both armeabi-v7a and arm64-v8a. However, you would need to make sure your device is configured to allow access to the necessary special files. I'm not familiar with Android on Raspberry Pi, so I don't know how difficult this would be.

If you'd like to proceed with this, please email us to arrange payment.

@mhsmith mhsmith reopened this Nov 27, 2020
@mhsmith
Copy link
Member

mhsmith commented Jan 16, 2022

It's been over a year and only one person has requested this package, so we won't be adding it in the foreseeable future. If anyone else is interested, please click the thumbs-up button above and post a comment, and I'll reopen the issue.

@plabon5150
Copy link

I need this package. can you please assist with this matter? it says can't install

@mhsmith
Copy link
Member

mhsmith commented Dec 21, 2022

The package build tool is now open-source, so if you'd like to try building this package yourself, follow the instructions here. And if you're successful, please make a pull request so we can add it to the public repository.

@mhsmith mhsmith reopened this Dec 22, 2022
@mhsmith
Copy link
Member

mhsmith commented Dec 20, 2023

Actually, we probably wouldn't add this to the public repository, because it isn't possible to test on a normal Android device or emulator. But you're still free to build it yourself by following the instructions above.

@mhsmith mhsmith closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants