Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: bayang Newsgroups: comp.lang.python Subject: Re: Trying out Kivy Date: Fri, 13 Nov 2015 22:11:35 +0100 Lines: 51 Message-ID: References: <871tbt3lml.fsf@Equus.decebal.nl> <87pozd21nb.fsf@Equus.decebal.nl> <87lha11wz4.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de gYWAUBCNoCTJqXz4uirxiQAak/ssBEjMXBxYpvB9xzQw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'ignored': 0.05; 'importerror:': 0.05; 'installed.': 0.05; 'python3': 0.05; 'url:bitbucket': 0.05; 'problem?': 0.07; '173': 0.09; 'exception': 0.13; '57,': 0.16; 'pygame': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'skip:" 70': 0.16; 'sys.exit(1)': 0.16; '\xe9crit': 0.16; 'first,': 0.20; 'import': 0.24; '(most': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'install': 0.25; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'record': 0.29; 'installed,': 0.29; 'skip:/ 40': 0.29; 'symbols': 0.29; 'url:wiki': 0.30; 'window': 0.30; 'maybe': 0.33; 'traceback': 0.33; 'message-id:@gmail.com': 0.34; 'correctly': 0.34; "skip:' 20": 0.34; 'file': 0.34; 'received:google.com': 0.35; 'skip:" 50': 0.35; 'received:74.125.82': 0.35; 'but': 0.36; 'url:org': 0.36; 'loaded': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; '12,': 0.37; 'seem': 0.37; 'difference': 0.38; 'log': 0.38; 'unable': 0.39; 'received:192': 0.39; 'skip:e 20': 0.39; 'to:addr:python.org': 0.40; 'valuable': 0.61; 'charset:windows-1252': 0.62; 'url:x': 0.81; 'all!': 0.84; 'cecil': 0.84; 'pip': 0.84; 'received:74.125.82.41': 0.84; 'westerhof': 0.84; 'window,': 0.84; '2014,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=ZPlo+6fo0KAe27rPVR29baf/IgsiF/zCuyWluxU4Uk4=; b=A21i0OAliW7hRou8nkJ8DUpyWkgxsCb5s4yp1PPFmRUr/QUz6WhEUlq6uqlke+vliY OW9SoPxx6OPBIqsLYj6TSOWwE6IYYGhhMOAvXSZTs+4KxVhm+3e+NDBA7/iesF5FeA36 E0RUS5B95jRzN5rNR/JUW52sprn+zReZl7kCuQQmidxCycaFz65qUVt5oR+5s/RJiZ3F PPn1+3keAYaNnFLnbaNARRtnXLF/Z06GTHghd/cPSRUqpLUL7Mzo2NqOLeWINbRlcV00 0Ny2dqzsud/lwpiQWDaVYuIOZxbKeRMGh1I0JFYpG2brAQ5eewAAxRdetzFBgkC0vbKK 0WXQ== X-Received: by 10.194.185.42 with SMTP id ez10mr13937676wjc.82.1447449097121; Fri, 13 Nov 2015 13:11:37 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <87lha11wz4.fsf@Equus.decebal.nl> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:98769 Le 13/11/2015 21:10, Cecil Westerhof a écrit : > 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 > 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 > 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? > Pygame doesn't seem to be correctly installed. check this : http://www.pygame.org/wiki/CompileUbuntu#Python_3.x in "installing pygame with pip" part. Install dependencies first, then pip install hg+http://bitbucket.org/pygame/pygame