[Solved] Error Upgrading to Kivy 1.8.0
Assumption:
Using VM provided by Kivy
Reference:
https://groups.google.com/forum/#!topic/kivy-users/Y9BbIzYcbnI
Error:
kivy@kivy-VirtualBox:~/
[WARNING] [Config ] Older configuration version detected (7 instead of 10)
[WARNING] [Config ] Upgrading configuration in progress.
[INFO ] [Logger ] Record log in /home/kivy/.kivy/logs/kivy_14-
[INFO ] Kivy v1.8.1-dev
[INFO ] [Python ] v2.7.3 (default, Sep 26 2012, 21:53:58)
[GCC 4.7.2]
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/kivy/code/kivy/kivy/
from kivy.base import runTouchApp, stopTouchApp
File "/home/kivy/code/kivy/kivy/
from kivy.event import EventDispatcher
File "/home/kivy/code/kivy/kivy/
import kivy._event
ImportError: No module named _event
kivy@kivy-VirtualBox:~/
Fix:
- Download Kivy 1.8.0 and decompress it.
- go the kivy folder you just downloaded.
- Copy Makefile from /code/kivy/ to the new Kivy.
- sudo make force.
- change PYTHONPATH to the new location (using export command). (google environment variables for more info)
Comments
Post a Comment