Kivy Designer Won't Open

565 views
Skip to first unread message

Ben Donnaloia

unread,
Feb 24, 2014, 4:44:24 AM2/24/14
to kivy-...@googlegroups.com
On OS X Mavericks.  I've installed all of the dependencies.  Kivy itself runs from the command line and I can run all of the examples that came with Kivy without issue, however when I try to open Kivy Designer, I get the following error.  Any suggestions?

File "main.py", line 2, in <module>

    from designer.app import DesignerApp

  File "/Users/OwlFace/Downloads/kivy-designer/designer/app.py", line 3, in <module>

    import kivy

ImportError: No module named kivy

Hubert Soyer

unread,
Feb 24, 2014, 5:10:40 AM2/24/14
to kivy-...@googlegroups.com
Can you post the command that you used to start the designer?

Ben Donnaloia

unread,
Feb 24, 2014, 5:31:42 PM2/24/14
to kivy-...@googlegroups.com
python main.py

Ben Donnaloia

unread,
Feb 24, 2014, 11:28:16 PM2/24/14
to kivy-...@googlegroups.com
How can there be no module named Kivy if I can open and run Kivy on it's own?  Is Kivy maybe installed in the wrong location or something?

Hubert Soyer

unread,
Feb 25, 2014, 5:55:37 AM2/25/14
to kivy-...@googlegroups.com
That really sounds like you have multiple python versions installed and not all of them have the kivy module.

How do you run the kivy examples (they work, right?)

Try running

which python

It should show you the path of the python installation that you are trying to run.
(at least it does on linux)

Do you set any environment variables related to python yourself?

Ben Donnaloia

unread,
Feb 25, 2014, 7:32:59 PM2/25/14
to kivy-...@googlegroups.com
The examples do work, I just drag them into the Kivy icon on my dock.

I ran 'python -V' and it says 2.7.5

I'm not sure what environment variables are, so probably not.

I think maybe you are right about having multiple python versions installed, however I'm not sure how to correct this.  How do I find the location of each Python installation?  After I find them, should I just reinstall Kivy to each separate python installation?  

I know my problem probably has nothing to do with Kivy itself, but what a headache!

Benjamin Ward

unread,
Feb 25, 2014, 7:42:59 PM2/25/14
to kivy-...@googlegroups.com
Because you ran the designer with just "python main.py", it runs with the default python installation, not the kivy installation. Try running the designer just like you ran the examples, that should work.

Ben Donnaloia

unread,
Feb 25, 2014, 8:13:59 PM2/25/14
to kivy-...@googlegroups.com
I tried to drag main.py into the Kivy dock icon and it just bounces for a few seconds and then stops.  Nothing else happens.

Benjamin Ward

unread,
Feb 25, 2014, 9:15:39 PM2/25/14
to kivy-...@googlegroups.com
Try running it with the batch (.bat) file instead, in the kivy download directory.



On Monday, February 24, 2014 4:44:24 AM UTC-5, Ben Donnaloia wrote:

Ben Donnaloia

unread,
Feb 25, 2014, 9:33:34 PM2/25/14
to kivy-...@googlegroups.com
I'm not sure what that is or where to find it.

Ben Donnaloia

unread,
Feb 25, 2014, 9:46:40 PM2/25/14
to kivy-...@googlegroups.com
I do not see a .bat file anywhere, where would this be located?

Ben Donnaloia

unread,
Feb 25, 2014, 11:05:06 PM2/25/14
to kivy-...@googlegroups.com
So I just tried running kivy main.py instead of python main.py in terminal and got an ImportError no module named watchdog.events.

I installed watchdog already, I see it showing up in spotlight, I tried reinstalling it again just now, just in case.  Still getting the same error.  Is it possible watchdog was installed to a different python installation?

I'm so lost :/

On Tuesday, February 25, 2014 6:33:34 PM UTC-8, Ben Donnaloia wrote:

Ben Donnaloia

unread,
Feb 25, 2014, 11:32:23 PM2/25/14
to kivy-...@googlegroups.com
I installed watchdog again for the third time, and now kivy designer suddenly opens.  Not sure what the problem was or what it fixed it.

Thanks to those that helped.

Ben Rousch

unread,
Feb 26, 2014, 6:28:11 AM2/26/14
to kivy-...@googlegroups.com
Watchdog needed to be installed into the Python that Kivy uses. Installing it into the system Python does no good. Same with other modules that are pip installed.


--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
 Ben Rousch
   bro...@gmail.com
   http://clusterbleep.net/
Reply all
Reply to author
Forward
0 new messages