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
No way to install gpiozero on Jessie lite #538
Comments
There's no reason you couldn't install it on Jessie lite the way you described. The gpiozero package exists in the Raspbian repo so it's possible to install the usual way. If you're getting errors, perhaps you're not online or your package list needs updating first. You'll also need to install
|
I just have this error "E: Unable to locate package python-gpiozero". |
I don't know why you're having this issue if you're online and your package list is updated. You can try installing with pip:
|
I also don't know why this wouldn't be working - if I get time this evening I'll try to reproduce on a fresh install of Jessie Lite. |
Thank you very much for your responses, it worked with pip (it may be worth to include this in the doc?)
Maybe it's because I'm on Volumio (https://volumio.org/discover/). They are based on Jessie Lite but it might change something? Here is the sources.list file :
|
Ahhh, looks like they're using upstream "pure Raspbian" from raspbian.org, which is actually different from the downstream "RPF Raspbian" from raspberrypi.org (which contains a bunch of extra packages and apt sources). And if you've not already done so, you'll also want to make sure that you've got RPi.GPIO installed, otherwise you might find GpioZero is a bit slow. Closing this issue. |
I can confirm that sudo apt-get install python-gpiozero python3-gpiozero works just fine on the Jessie Lite downloaded from https://www.raspberrypi.org/downloads/raspbian/ |
Doh! Spoke too soon... ;-) You also need to sudo apt-get install python-pkg-resources python3-pkg-resources (see #518 ) |
Also, you'll probably want to install a gpio pin library:
or:
(without a gpio pin library, gpiozero will use its own native pin implementation which is not recommended) We should incorporate this into #523 |
https://github.com/RPi-Distro/python-gpiozero/blob/master/debian/control already Recommends |
But that's a recommend, not a requirement, right? |
Raspbian automatically installs |
Hello,
I can't install gpiozero using sudo apt-get install python-gpiozero, the package is not located.
There is no alternative listed in the documentation and google can't help me neither. It's quite frustrating since gpiozero is designed to make physical computing more accessible :/
Can i get some help please?
The text was updated successfully, but these errors were encountered: