Kivy not working on Ubuntu 17.10

1,003 views
Skip to first unread message

Alejandro Mendez

unread,
Oct 21, 2017, 7:16:22 AM10/21/17
to Kivy users support
Hi,

I have installed kivy in Ubuntu 17.10 and I can't seem to make it work. I have tried many things.
I have tried with Python 2 and 3, and also in a virtual machine.

With this simple app:


from kivy.app import App
App().run()


I get:

[INFO   ] [Logger      ] Record log in /home/twistx77/.kivy/logs/kivy_17-10-21_1.txt
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v3.6.3 (default, Oct  3 2017, 21:45:48) 
[GCC 7.2.0]
 Traceback (most recent call last):
   File "/home/twistx77/temp/test.py", line 2, in <module>
     from kivy.app import App
   File "/usr/lib/python3/dist-packages/kivy/app.py", line 319, in <module>
     from kivy.base import runTouchApp, stopTouchApp
   File "/usr/lib/python3/dist-packages/kivy/base.py", line 30, in <module>
     from kivy.event import EventDispatcher
   File "/usr/lib/python3/dist-packages/kivy/event.py", line 8, in <module>
     import kivy._event
 ImportError: /usr/lib/python3/dist-packages/kivy/_event.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf


Is this a bug or am I doing something wrong?

Thank you.

Christoph Habel

unread,
Oct 24, 2017, 9:03:52 AM10/24/17
to Kivy users support
I've got the same problem with the same error message...

Alejandro Mendez

unread,
Oct 24, 2017, 2:53:40 PM10/24/17
to Kivy users support
I have posted and Issue on their github https://github.com/kivy/kivy/issues/5453

Susheel Selvamani

unread,
Nov 1, 2017, 2:09:55 PM11/1/17
to Kivy users support

I have the same issue, when I try to run a simple kivy example (3D rendering). Kivy is not working


Ubuntu version: 17.10


[INFO ] [Logger ] Record log in /home/susheel/.kivy/logs/kivy_17-11-01_7.txt
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v2.7.14 (default, Sep 23 2017, 22:06:14)


[GCC 7.2.0]
Traceback (most recent call last):

File "main.py", line 15, 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 30, 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

ZenCODE

unread,
Nov 6, 2017, 12:44:43 PM11/6/17
to Kivy users support
Hi.

So, trying to look into this, but so many things are broken in 17.10 it hard to know where to start. I will post back on this thread after investigating, but please understand this more an ubuntu/python compatibility issue that a kivy issue.

Peace out

Alejandro Méndez A.

unread,
Nov 6, 2017, 3:30:25 PM11/6/17
to kivy-...@googlegroups.com
Hi,

Thank you for trying anyway. If I had enough knowledge to fix it, I would. I have created an issue in theri github.  https://github.com/kivy/kivy/issues/5453

If it is a ubuntu/python compatibility issue could this be forward to the python developers?

Thank you.

--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/lRLfxp1Sywg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
アレッカス

ZenCODE

unread,
Nov 17, 2017, 2:28:53 PM11/17/17
to Kivy users support
Okay, relief. Yes, the binary installer for Kivy seems broken on 17.10. Luckily, you can get it working if you build from source. So, follow the instruction here for 16.04:

    https://kivy.org/docs/installation/installation.html#installation-devel

But leave out

    python-gst0.10
    gstreamer0.10-plugins-good

from the dependencies. That seems to get Kivy up and running. I have not done extensive testing, so if you encounter issues, please feel free to report them here.

Alejandro Méndez A.

unread,
Nov 17, 2017, 3:13:50 PM11/17/17
to kivy-...@googlegroups.com
Thanks!

I will try that out.

I imagine I need to unistall kivy completely before compiling from source, right?

--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/lRLfxp1Sywg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
アレッカス

Alejandro Méndez A.

unread,
Nov 17, 2017, 5:03:05 PM11/17/17
to kivy-...@googlegroups.com
I have tried and it works.

I will have to try with python 3.

Thank you very much.
--
アレッカス
Reply all
Reply to author
Forward
0 new messages