ImportError: No module named _event

989 views
Skip to first unread message

Dedalo Galdos

unread,
Apr 2, 2014, 7:24:32 PM4/2/14
to kivy-...@googlegroups.com
I'm trying to make kivy run in my ubuntu 12.10 but I can't:

dedalo@hackstation:~/Descargas/Kivy-1.8.0$ python
Python 2.7.3 (default, Feb 27 2014, 19:39:10) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import kivy
[INFO   ] Kivy v1.8.0
>>> from kivy.app import App
[INFO   ] [Logger      ] Record log in /home/dedalo/.kivy/logs/kivy_14-04-02_9.txt
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "kivy/app.py", line 321, in <module>
     from kivy.base import runTouchApp, stopTouchApp
   File "kivy/base.py", line 29, in <module>
     from kivy.event import EventDispatcher
   File "kivy/event.py", line 8, in <module>
     import kivy._event
 ImportError: No module named _event
>>>  
dedalo@hackstation:~/Descargas/Kivy-1.8.0$ cat /home/dedalo/.kivy/logs/kivy_14-04-02_9.txt
[INFO              ] Logger: Record log in /home/dedalo/.kivy/logs/kivy_14-04-02_9.txt
[INFO   ] Kivy v1.8.0
[WARNING           ] stderr: Traceback (most recent call last):
[WARNING           ] stderr:   File "<stdin>", line 1, in <module>
[WARNING           ] stderr:   File "kivy/app.py", line 321, in <module>
[WARNING           ] stderr:     from kivy.base import runTouchApp, stopTouchApp
[WARNING           ] stderr:   File "kivy/base.py", line 29, in <module>
[WARNING           ] stderr:     from kivy.event import EventDispatcher
[WARNING           ] stderr:   File "kivy/event.py", line 8, in <module>
[WARNING           ] stderr:     import kivy._event
[WARNING           ] stderr: ImportError: No module named _event
[WARNING           ] stderr: 


What's the problem I've tryed to uninstall pygame cython kivy and anything changes..


HELP!!!!
Message has been deleted

veey...@gmail.com

unread,
Oct 23, 2015, 11:22:55 AM10/23/15
to Kivy users support
sudo python setup.py build_ext --inplace -f

Message has been deleted

ZenCODE

unread,
Nov 8, 2016, 4:49:10 PM11/8/16
to Kivy users support
This error generally indicates some sort of failure in the build process. Look at or post the output of veeY ceeY's command above. What exactly is failing?

张厶元

unread,
Mar 11, 2017, 10:02:02 PM3/11/17
to Kivy users support
It's an issue about the error installnation
just reinstall kivy
and use apt-get -f install to fix some err.

在 2014年4月3日星期四 UTC+8上午7:24:32,Dedalo Galdos写道:
Reply all
Reply to author
Forward
0 new messages