Python Mobile development using kivy

Laura Creighton lac at
Mon Aug 17 19:14:26 CEST 2015

In a message of Mon, 17 Aug 2015 09:35:12 -0700, reetesh nigam writes:
>Hi All,
>I am using Python2.7 version, while developing basic app using kivy, I am getting following error :
>dev at synechron-desktop-156:~/myDev/mobile_app$ cat 
>from kivy import app
>from import App
>from kivy.uix.label import Label
>class MyApp(App):
>    def build(self):
>        return Label(text='Hello world')
>if __name__ == '__main__':
>    MyApp().run()
>dev at synechron-desktop-156:~/myDev/mobile_app$ python 
>[INFO   ] [Logger      ] Record log in /home/dev/.kivy/logs/kivy_15-08-17_0.txt
>[INFO   ] [Kivy        ] v1.9.0
>[INFO   ] [Python      ] v2.7.5 (default, Aug  9 2015, 22:40:01) 
>[GCC 4.4.3]
>[INFO   ] [Factory     ] 173 symbols loaded
>[INFO   ] [Image       ] Providers: img_tex, img_dds, img_gif, img_pygame (img_pil, img_ffpyplayer ignored)
> Traceback (most recent call last):
>   File "", line 1, in <module>
>     from kivy import app
>   File "/usr/local/lib/python2.7/site-packages/kivy/", line 324, in <module>
>     from kivy.uix.widget import Widget
>   File "/usr/local/lib/python2.7/site-packages/kivy/uix/", line 167, in <module>
>     from import Matrix
>   File "/usr/local/lib/python2.7/site-packages/kivy/graphics/", line 89, in <module>
>     from import Callback, Canvas, CanvasBase, \
>   File "kivy/graphics/vbo.pxd", line 7, in init (kivy/graphics/instructions.c:14003)
>   File "kivy/graphics/compiler.pxd", line 1, in init (kivy/graphics/vbo.c:5112)
>   File "kivy/graphics/shader.pxd", line 5, in init (kivy/graphics/compiler.c:2863)
>   File "kivy/graphics/texture.pxd", line 3, in init (kivy/graphics/shader.c:10293)
>   File "kivy/graphics/fbo.pxd", line 5, in init (kivy/graphics/texture.c:29967)
>   File "kivy/graphics/fbo.pyx", line 84, in init (kivy/graphics/fbo.c:7065)
> ImportError: /usr/local/lib/python2.7/site-packages/kivy/graphics/ undefined symbol: glBlendEquationSeparate
>dev at synechron-desktop-156:~/myDev/mobile_app$

If you get undefined opengl errors, it is usually caused by an old
version of opengl, and the error you got is common.

This is a puzzling error that most often happens when compiling under
i386 for the old libGL.  Given that the symbol is present in libGL and
that compilation works under amd64, this shouldn't be happening.  But
for some reason it does.  If a newer version of  doesn't fix
your problem, post a bug report here:

or discuss it on #kivy on freenode


More information about the Python-list mailing list