[Python-modules-team] Bug#799833: still exists

Jack.R jack.r at free.fr
Thu Aug 10 09:48:14 UTC 2017


On Tue, 01 Aug 2017 18:44:37 +0100 Juha =?ISO-8859-1?Q?J=E4ykk=E4?=
<juhaj at iki.fi> wrote:
> Still exists in 1.9.1-1+b1.
> 
> This bug is almost two years old with no activity what so ever from
> the maintainer. It the package still being maintained?
> 
> 

I am running buster/sid on kernel 4.11.0-1-amd64 and got the same issue.

After seraching on the net, I found
https://stackoverflow.com/questions/45529794/x11-importerror-no-module-named-kivy-core-window-window-x11
which give me a valid starting point.

Here is what I have done and which make kivy works with python3.
# Remove kivy package
apt-get remove --purge python3-kivy

# Get all what we need (done by trial and fail)
# Install pip3 to be able to get and compile kivy
apt-get install python3-pip
# To be able to compile 
apt-get install cython3 python3-dev
# To have sdl2 in order to have a valuable Window provider
apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev
libsdl2-mixer-dev
# To make the clipboard works (needed in some example)
python3-dev  xclip

# Compile and install kivy
pip3 install git+https://github.com/kivy/kivy.git@master

# Install kivy examples
apt-get install python-kivy-examples

# Test demo
cd /usr/share/kivy-examples/demo/showcase
python3 main.py

Hope it can be useful for others.

-- 
Jack.R



More information about the Python-modules-team mailing list