Using sdl2 in Kivy instead of pygame

I could not resize my windows on applications that I made with Kivy, so I found out that instead of ssl2 instead of Pygame, Kivy can fix it. I uninstalled Kivy and Pygame, then installed sdl2 and then reinstalled Kivy. However, Kivy is trying to use pygame. Please, help.

File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/kivy/core/__init__.py", line 59, in core_select_lib
fromlist=[modulename], level=0)

File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/kivy/core/window/window_pygame.py", line 8, in <module>
import pygame
+4
source share
2 answers

The easiest way to fix this is to clear the current kiwi, install and reinstall it using the following links as a reference point (these are the official installation instructions)

https://kivy.org/docs/installation/installation-windows.html

: 1.9.2 Windows python 3.5, , kivy .

, , python 3.4 () kivy . Kivy no longers pygame sdl2.

, , , - GStreamer, , , , .

Linux, :)

+2

Mac (Sierra). https://github.com/kivy/kivy/issues/4688

Kivy
USE_OSX_FRAMEWORKS=0 pip install https://github.com/kivy/kivy/zipball/master

, Kivy SDL2 pygame. ( : Kivy SDL2 Virtualenv)

0

Source: https://habr.com/ru/post/1652716/


All Articles