How to use Kivy with pyzo on ubuntu

38 views
Skip to first unread message

Pascal Muller

unread,
May 31, 2017, 12:48:03 PM5/31/17
to Kivy users support
Hello,
I'm using Pyzo as editor for python on ubuntu 16.04
I've just installed kivy using the "User’s Guide  Installation on Linux" method : sudo apt-get install python3-kivy
I had no error message.
I can find kivy files in : /usr/lib/python3/dist-packages/kivy

In pyzo, I'm trying a simple example starting with : from kivy.app import App


When I run it in pyzo I have an error message : from kivy.app import App

ImportError: No module named 'kivy.app'; 'kivy' is not a package


Just as if Pyzo didn't know where to find kivy...


I guess it's the way pyzo is configured that cause my problem.

In pyzo, I don't know how to configure the python shell :



Thank you for your help.

Auto Generated Inline Image 1

Pascal Muller

unread,
Jun 2, 2017, 3:21:25 PM6/2/17
to Kivy users support
Hello,
I found the solution.
I named my python script "kivy.py" : bad idea !
Any other name works.
I still have to mention /usr/lib/python3/dist-
packages/kivy in the pythonpaht.
Thank you for readig :-)
Reply all
Reply to author
Forward
0 new messages