Python Mobile development using kivy

reetesh nigam nigamreetesh84 at gmail.com
Mon Aug 17 18:35:12 CEST 2015


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 main.py 
from kivy import app
from kivy.app 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 main.py 
[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 "main.py", line 1, in <module>
     from kivy import app
   File "/usr/local/lib/python2.7/site-packages/kivy/app.py", line 324, in <module>
     from kivy.uix.widget import Widget
   File "/usr/local/lib/python2.7/site-packages/kivy/uix/widget.py", line 167, in <module>
     from kivy.graphics.transformation import Matrix
   File "/usr/local/lib/python2.7/site-packages/kivy/graphics/__init__.py", line 89, in <module>
     from kivy.graphics.instructions import Callback, Canvas, CanvasBase, \
   File "kivy/graphics/vbo.pxd", line 7, in init kivy.graphics.instructions (kivy/graphics/instructions.c:14003)
   File "kivy/graphics/compiler.pxd", line 1, in init kivy.graphics.vbo (kivy/graphics/vbo.c:5112)
   File "kivy/graphics/shader.pxd", line 5, in init kivy.graphics.compiler (kivy/graphics/compiler.c:2863)
   File "kivy/graphics/texture.pxd", line 3, in init kivy.graphics.shader (kivy/graphics/shader.c:10293)
   File "kivy/graphics/fbo.pxd", line 5, in init kivy.graphics.texture (kivy/graphics/texture.c:29967)
   File "kivy/graphics/fbo.pyx", line 84, in init kivy.graphics.fbo (kivy/graphics/fbo.c:7065)
 ImportError: /usr/local/lib/python2.7/site-packages/kivy/graphics/opengl.so: undefined symbol: glBlendEquationSeparate
dev at synechron-desktop-156:~/myDev/mobile_app$ 


More information :

I have installed kivy,pygame and cython as well:

dev at synechron-desktop-156:~/myDev/mobile_app$ python
Python 2.7.5 (default, Aug  9 2015, 22:40:01) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import kivy
[INFO   ] [Logger      ] Record log in /home/dev/.kivy/logs/kivy_15-08-17_1.txt
[INFO   ] [Kivy        ] v1.9.0
[INFO   ] [Python      ] v2.7.5 (default, Aug  9 2015, 22:40:01) 
[GCC 4.4.3]
>>> import pygame
>>> import cython
>>> 


More information about the Python-list mailing list