试图第一次运行KIVY,无法加载应用程序

时间:2015-04-23 14:51:20

标签: python kivy

我知道有一个类似的问题,但它似乎没有回答我的问题

我已经安装了python和kivy并在pydoc模块中获取

[INFO   ] [Logger      ] Record log in /home/jeff/.kivy    /logs/kivy_15-04-23_10.txt
[INFO   ] [Kivy        ] v1.9.0
[INFO   ] [Python      ] v2.7.6 (default, Mar 22 2014, 22:59:56) 
[GCC 4.8.2]

当我尝试运行包含以下内容的程序时:

import kivy
kivy.require('1.9.0') # replace with your current kivy version !

from kivy.app import App

它失败并显示消息

>
     from kivy.app import App
   File "/usr/local/lib/python2.7/dist-packages/Kivy-1.9.0-py2.7-linux-i686.egg/kivy/app.py", line 316, in <module>
     from kivy.base import runTouchApp, stopTouchApp
   File "/usr/local/lib/python2.7/dist-packages/Kivy-1.9.0-py2.7-linux-i686.egg/kivy/base.py", line 30, in <module>
     from kivy.event import EventDispatcher
   File "/usr/local/lib/python2.7/dist-packages/Kivy-1.9.0-py2.7-linux-i686.egg/kivy/event.py", line 8, in <module>
     import kivy._event
 ImportError: /usr/local/lib/python2.7/dist-packages/Kivy-1.9.0-py2.7-linux-i686.egg/kivy/_event.so: wrong ELF class: ELFCLASS32

有人可以告诉我可能出错的线索

由于

0 个答案:

没有答案