Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95452

Re: "no module named kivy" import error in ubuntu 14.04

Newsgroups comp.lang.python
Date 2015-08-17 16:35 -0700
References <bf6602db-8a67-46e4-b02c-94cd462081f0@googlegroups.com> <mailman.48.1439776065.4764.python-list@python.org><22e8c1bc-72ba-46e1-9402-fbd1bd893a35@googlegroups.com> <mailman.51.1439784857.4764.python-list@python.org><7054434a-03fd-46d9-b0a9-850748167376@googlegroups.com> <mailman.53.1439797952.4764.python-list@python.org>
Message-ID <ed9f070f-cd82-4bc2-8df9-f608dd977bc7@googlegroups.com> (permalink)
Subject Re: "no module named kivy" import error in ubuntu 14.04
From rurpy@yahoo.com

Show all headers | View raw


On 08/17/2015 01:52 AM, Laura Creighton wrote:
> In a message of Sun, 16 Aug 2015 22:05:29 -0700, rurpy--- via Python-list writes:
>> So I eventually found the kivy docs on their website where they
>> list prerequisite packages for installing kivy on ubuntu.  I'll 
>> translate those to hopefully the equivalent fedora package names, 
>> install them, reinstall kivy, and get a working kivy install.

Actually, right after I posted, I saw a Fedora-specific list of
packages on the kivy website. However, after I installed them
and reinstalled kivy I still got the same set of missing package
warning that I got before.
And hoping that the packages just enabled optional features I
tried running the simple "hello-world" program from their website.
It died horribly:

| [CRITICAL] [Window ] Unable to find any valuable Window provider at all!
| egl_rpi - ImportError: cannot import name 'bcm'
| File "/usr/lib64/python3.4/site-packages/kivy/core/__init__.py", line 57, in core_select_lib
and
| x11 - ImportError: No module named 'kivy.core.window.window_x11'
| File "/usr/lib64/python3.4/site-packages/kivy/core/__init__.py", line 57, in core_select_lib
| fromlist=[modulename], level=0)
| [CRITICAL] [App ] Unable to get a Window, abort.

>> The point here that all the above is a LONG way from what was
>> was posted here: "just type 'pip install kivy' and pip will take 
>> care of everything".
>>
>> I hope someday Python gets a decent packaging/distribution story.
> 
> Can you post what one should do with modern Fedora distributions, so
> we can tell the kivy-devs and they can update that webpage?

Unfortunately I have no idea what one should do. The standard response
in this group is that pip knows, hence I don't need to. I just wanted
to point out the fallacy of that.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

"no module named kivy" import error in ubuntu 14.04 shiva upreti <katewinslet626@gmail.com> - 2015-08-16 12:16 -0700
  Re: "no module named kivy" import error in ubuntu 14.04 MRAB <python@mrabarnett.plus.com> - 2015-08-16 20:27 +0100
  Re: "no module named kivy" import error in ubuntu 14.04 Laura Creighton <lac@openend.se> - 2015-08-16 21:58 +0200
  Re: "no module named kivy" import error in ubuntu 14.04 Chris Angelico <rosuav@gmail.com> - 2015-08-17 11:47 +1000
    Re: "no module named kivy" import error in ubuntu 14.04 Rustom Mody <rustompmody@gmail.com> - 2015-08-16 19:51 -0700
      Re: "no module named kivy" import error in ubuntu 14.04 Chris Angelico <rosuav@gmail.com> - 2015-08-17 12:59 +1000
    Re: "no module named kivy" import error in ubuntu 14.04 rurpy@yahoo.com - 2015-08-16 20:19 -0700
      Re: "no module named kivy" import error in ubuntu 14.04 Laura Creighton <lac@openend.se> - 2015-08-17 06:14 +0200
        Re: "no module named kivy" import error in ubuntu 14.04 rurpy@yahoo.com - 2015-08-16 22:05 -0700
          Re: "no module named kivy" import error in ubuntu 14.04 Laura Creighton <lac@openend.se> - 2015-08-17 09:52 +0200
            Re: "no module named kivy" import error in ubuntu 14.04 rurpy@yahoo.com - 2015-08-17 16:35 -0700
          Re: "no module named kivy" import error in ubuntu 14.04 Rustom Mody <rustompmody@gmail.com> - 2015-08-17 10:13 -0700
  Re: "no module named kivy" import error in ubuntu 14.04 Dave Farrance <df@see.replyto.invalid> - 2015-08-17 06:11 +0100

csiph-web