Maslow Home Maslow Community Garden

Kivy Install Help


#1

I had previously successfully installed Kivy, GC, and the firmware, and had it running. However, I recently updated to Ubuntu 18.04, from Ubuntu 16.xx. Now, when I attempt to run GC, I get an error. The error message is below. Does anyone know of how to resolve this?

[INFO ] [Logger ] Record log in /home/john/.kivy/logs/kivy_18-11-10_2.txt
[INFO ] [Kivy ] v1.10.1
[INFO ] [Python ] v2.7.15rc1 (default, Apr 15 2018, 21:51:34)
[GCC 7.3.0]
Traceback (most recent call last):
File “main.py”, line 11, in
from kivy.app import App
File “/usr/lib/python2.7/dist-packages/kivy/app.py”, line 319, in
from kivy.base import runTouchApp, stopTouchApp
File “/usr/lib/python2.7/dist-packages/kivy/base.py”, line 27, in
from kivy.event import EventDispatcher
File “/usr/lib/python2.7/dist-packages/kivy/event.py”, line 8, in
import kivy._event
ImportError: /usr/lib/python2.7/dist-packages/kivy/_event.x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf


#2

Clueless, but searching giggle.
Could to try if setting multisampling to 0 in the ~/.kivy/config.ini is a workaround?

(18.04.1 LTS (Bionic Beaver) 64-bit)


#3

Apparently I had to uninstall and re-install Kivy. I did a sudo apt-get remove python-kivy, followed by sudo apt-get install python-kivy. GC is now running again. Thanks @Gero!