Problems installing Kivy on Raspberry Pi using PPA (Debian?)
Today i tried to install kivy on my raspberry pi following this site: http://kivy.org/docs/installation/installation-linux.html#ubuntu-11-10-or-newer"
after adding the ppa to my sources i tried to add the keys and got an gpg error, so sudo apt-get update produces an error.
after that i tried it with installing software bundles/tarballs .
when try running this commands: sudo apt-get install python-setuptools python-pygame python-opengl python-gst0.10 python-enchant gstreamer0.10-plugins-good python-dev build-essential libgl1-mesa-dev libgles2-mesa-dev cython
i got dependencies errors. so i had to downgrade libwayland as mentioned here:
http://wonderfulcode.tumblr.com/post/54102854344/kivy-on-raspberry-pi
so perhaps something needs to be updated with the debian installer packets.
greets
Well, first of all which distribution are you using for your PI?
@wessix the ppa probably won't work as is on rpi, would help if you could reply to thopiekars question.
Additionally: If you think "armhf" on Ubuntu is the same as Debian/Raspbian you are wrong. What you can do is to add the ppa as deb-src in apt's sources.list and rebuild it on the pi by
apt-get source -b python-kivy
since 1.8.0: build will need cython3 which is not content of wheezy.. Debian itself hosts it as wheezy backports, which does not exist for the rpi.
gpg --recv-keys 0C667A3E
This key cannot be found on the current version of Raspbian. I get this error message:
pi@raspberrypi:~$ gpg --recv-keys 0C667A3E
gpg: directory/home/pi/.gnupg' created gpg: new configuration file /home/pi/.gnupg/gpg.conf' created
gpg: WARNING: options in/home/pi/.gnupg/gpg.conf' are not yet active during this run gpg: keyring /home/pi/.gnupg/secring.gpg' created
gpg: keyring/home/pi/.gnupg/pubring.gpg' created gpg: no keyserver known (use option --keyserver) gpg: keyserver receive failed: bad URI pi@raspberrypi:~$ `
Looks to me like gpg isn't set up properly on Raspbian. Attempting the same command as root doesn't work any differently except for the home directory.
The PPA should only work with RPi2. Otherwise you'll need to rebuild the binaries.
Btw. you'll need to add the key by: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <key>
This seems to fix the key problem. At least, it works for me. Now how do we get the documentation fixed? sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C667A3E