Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98763
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Cecil Westerhof <Cecil@decebal.nl> |
| Newsgroups | comp.lang.python |
| Subject | Re: Trying out Kivy |
| Date | Fri, 13 Nov 2015 21:10:55 +0100 |
| Organization | Decebal Computing |
| Lines | 66 |
| Message-ID | <87lha11wz4.fsf@Equus.decebal.nl> (permalink) |
| References | <871tbt3lml.fsf@Equus.decebal.nl> <mailman.294.1447435298.16136.python-list@python.org> <87pozd21nb.fsf@Equus.decebal.nl> <mailman.300.1447444435.16136.python-list@python.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="9400"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kyJhe1YITMp6mIlZwk87/l9g7TQnP36A=" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
| X-Homepage | http://www.decebal.nl/ |
| Cancel-Lock | sha1:LQVRqCGAYZ0NDgqYWcqOuTjuU2s= sha1:M/D/nTyzCQ2mWFHYn/ppafW6y98= |
| Xref | csiph.com comp.lang.python:98763 |
Show key headers only | View raw
On Friday 13 Nov 2015 20:53 CET, Michael Torrie wrote:
> On 11/13/2015 11:30 AM, Cecil Westerhof wrote:
>> On Friday 13 Nov 2015 18:21 CET, Michael Torrie wrote:
>>
>>> On 11/13/2015 09:33 AM, Cecil Westerhof wrote:
>>>> I tried to install pygame and PIL with pip3, but that did not
>>>> find anything.
>>>
>>> The replacement for PIL is called Pillow. I'm not sure if it's a
>>> drop-in replacement or not. If it's not, then you'd have to modify
>>> Kivy to import from Pillow. Pillow does support Python3.
>>
>> After installing Pillow the error about PIL disappeared, but I got
>> new errors about bcm and x11.
>
> Traceback?
Purge log fired. Analysing...
Purge finished!
[INFO ] [Logger ] Record log in /home/cecil/.kivy/logs/kivy_15-11-13_28.txt
[INFO ] [Kivy ] v1.9.0
[INFO ] [Python ] v3.4.1 (default, May 23 2014, 17:48:28) [GCC]
[INFO ] [Factory ] 173 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_pil (img_pygame, img_ffpyplayer ignored)
[INFO ] [Text ] Provider: pil(['text_pygame'] ignored)
[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
fromlist=[modulename], level=0)
File "/usr/lib64/python3.4/site-packages/kivy/core/window/window_egl_rpi.py", line 12, in <module>
from kivy.lib.vidcore_lite import bcm, egl
pygame - ImportError: No module named 'pygame'
File "/usr/lib64/python3.4/site-packages/kivy/core/__init__.py", line 57, in core_select_lib
fromlist=[modulename], level=0)
File "/usr/lib64/python3.4/site-packages/kivy/core/window/window_pygame.py", line 8, in <module>
import pygame
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.
Exception ignored in: 'kivy.properties.dpi2px'
Traceback (most recent call last):
File "/usr/lib64/python3.4/site-packages/kivy/utils.py", line 360, in __get__
retval = self.func(inst)
File "/usr/lib64/python3.4/site-packages/kivy/metrics.py", line 169, in dpi
EventLoop.ensure_window()
File "/usr/lib64/python3.4/site-packages/kivy/base.py", line 126, in ensure_window
sys.exit(1)
SystemExit: 1
[CRITICAL ] [App ] Unable to get a Window, abort.
I see a difference with python2. (Did not notice it before.) With
python3 v1.9.0 is installed, but with python2 v1.8.0.
[INFO ] Kivy v1.8.0
Maybe that is the problem?
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Trying out Kivy Cecil Westerhof <Cecil@decebal.nl> - 2015-11-13 17:33 +0100
Re: Trying out Kivy Michael Torrie <torriem@gmail.com> - 2015-11-13 10:21 -0700
Re: Trying out Kivy Cecil Westerhof <Cecil@decebal.nl> - 2015-11-13 19:30 +0100
Re: Trying out Kivy Michael Torrie <torriem@gmail.com> - 2015-11-13 12:53 -0700
Re: Trying out Kivy Cecil Westerhof <Cecil@decebal.nl> - 2015-11-13 21:10 +0100
Re: Trying out Kivy bayang <wabayang@gmail.com> - 2015-11-13 22:11 +0100
Re: Trying out Kivy Cecil Westerhof <Cecil@decebal.nl> - 2015-11-14 12:51 +0100
Re: Trying out Kivy bayang <wabayang@gmail.com> - 2015-11-14 13:42 +0100
Re: Trying out Kivy Michael Torrie <torriem@gmail.com> - 2015-11-14 08:43 -0700
Re: Trying out Kivy Terry Reedy <tjreedy@udel.edu> - 2015-11-13 12:23 -0500
Re: Trying out Kivy bayang <wabayang@gmail.com> - 2015-11-13 18:50 +0100
csiph-web