Python Kivy install

Discussion in 'Linux Ubuntu' started by hiro.kaneko, Sep 1, 2014.

  1. hiro.kaneko

    hiro.kaneko New Member

    Jul 24, 2014
    Likes Received:
    I can not run Kivy, help me !

    I installed Kivy, the following.
    My enviroment is Linaro ubuntu 12.04 on UDOO quad.
    ubuntu@udoo:$sudo apt-get clean
    ubuntu@udoo:$sudo apt-get update
    ubuntu@udoo:$sudo apt-get upgrade
    ubuntu@udoo:$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
    ubuntu@udoo:$sudo apt-get install python-pip
    ubuntu@udoo:$sudo pip install --upgrade cython
    ubuntu@udoo:$sudo apt-get install git
    ubuntu@udoo:$git clone git://
    $cd kivy
    ubuntu@udoo:kivy$python build_ext --inplace -f
    ubuntu@udoo:kivy$sudo python install

    Then, "" in Desktop directory runned.
    Error message is displaied "Fatal Python error: (pygame parachute) Segmentation Fault".

    "" code is the following
    import kivy
    from kivy.base import EventLoop
    from import App
    from kivy.uix.button import Button
    class MyApp(App):
    title="Sample App"
    def build(self):
    return Button(text="hello world")
    if __name__=="__main__":

    and the kivy's log is the following.
    [INFO] Logger: Record log in /home/ubuntu/.kivy/logs/kivy_14-09-02_9.txt
    [INFO] Kivy v1.8.1-dev
    [INFO] Python: v2.7.3 (default, Apr 21 2012, 00:58:12)
    [GCC 4.6.3]
    [INFO] Factory: 169 symbols loaded
    [INFO] Image: Providers: img_tex, img_dds, img_pygame, img_gif (img_ffpyplayer, img_pil ignored)
    [INFO] Text: Provider: pygame
    [INFO] Window: Provider: pygame(['window_egl_rpi'] ignored)
    [WARNING] WinPygame: Video: failed (multisamples=2)
    [WARNING] WinPygame: trying without antialiasing
    [INFO] GL: OpenGL version <2.1 2.0.1>
    [INFO] GL: OpenGL vendor <Vivante Corporation>
    [INFO] GL: OpenGL renderer <GC2000 Graphics Engine>
    [INFO] GL: OpenGL parsed version: 2, 1
    [INFO] GL: Shading version <1.20>
    [INFO] GL: Texture max size <8192>
    [INFO] GL: Texture max units <16>
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Oct 27, 2014
    Likes Received:
    Hi hiro.kaneko! Actually I haven't tested it yet, so I can't solve your problem at the moment. Have you tried in the meanwhile to look for an answer on the Kivy forum?

Share This Page