Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98749
| 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 | Trying out Kivy |
| Date | Fri, 13 Nov 2015 17:33:06 +0100 |
| Organization | Decebal Computing |
| Lines | 40 |
| Message-ID | <871tbt3lml.fsf@Equus.decebal.nl> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Info | mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="20392"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mOlsEXSZIa83f+4SrfQ0+OWlMSHYTHjA=" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
| X-Homepage | http://www.decebal.nl/ |
| Cancel-Lock | sha1:RnJnHQAg5ZJCAN3YGoBx+e/6ywo= sha1:crZgE8rUniWVTHqpvqv4xZWzkw0= |
| Xref | csiph.com comp.lang.python:98749 |
Show key headers only | View raw
I tried out the ‘standard’ Kivy application:
============================================================
from kivy.app import App
from kivy.uix.button import Button
class TestApp(App):
def build(self):
return Button(text='Hello World')
TestApp().run()
============================================================
When using python2 I see some exceptions and OSErrors, but it runs.
When using python3 I get:
[CRITICAL ] [Text ] Unable to find any valuable Text provider at all!
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/text/text_pygame.py", line 12, in <module>
import pygame
pil - ImportError: No module named 'PIL'
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/text/text_pil.py", line 8, in <module>
from PIL import Image, ImageFont, ImageDraw
[CRITICAL ] [App ] Unable to get a Text provider, abort.
I tried to install pygame and PIL with pip3, but that did not find
anything. Is there another way to install those dependencies?
But more importantly: can I develop with python3 for the Android?
Because the primary reason to use Kivy is to develop applications for Android.
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.python | Previous | Next — 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