I've just run
apt-get update
and
apt-get upgrade
on Raspbian, but when I try
apt-get install python3-gpiozero python-gpiozero
it can't find either package.
Can't find any evidence of needing a non-standard apt-repository. How do I install it?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.
Sign up to join this communityI've just run
apt-get update
and
apt-get upgrade
on Raspbian, but when I try
apt-get install python3-gpiozero python-gpiozero
it can't find either package.
Can't find any evidence of needing a non-standard apt-repository. How do I install it?
The command you used should work according to the Pi Foundation's recent blog post, however, I tried it and got the same error. I believe doing a dist-upgrade should solve the problem. To upgrade do the following:
sudo apt-get update
sudo apt-get dist-upgrade
then rerun the command to install gpiozero:
sudo apt-get install python-gpiozero python3-gpiozero
If that does not work or you want to upgrade to Jessie this post contains the necessary steps.
sysvinit
to systemd
by default when you change from Wheezy (or older) to Jessie - this might produce some operational differences (especially during start-up) that could surprise you - or, hopefully, it will pass you by without any differences.