Issue Installing Kivy 1.10.0 on Linux Mint 18.1

261 views
Skip to first unread message

Paul Squires

unread,
May 11, 2017, 4:43:28 PM5/11/17
to Kivy users support
Hello, I'm upgrading from Kivy 1.9.1.2 to the new version 1.10.0 and finding that the new version is not supported/installable on my Linux Mint version 18.1 .  Here are the details.

OS - Linux Mint 18.1
Current Version of Kivy 1.9.1.2

I performed the "sudo apt-get install python-kivy" which states I'm currently at the latest version.

If I add the PPA with the appropriate base it states xenial is not supported which is the MINT package base.

I have tried to install from source (python setup.py install) but I get this type of error:

SDL2 found via pkg-config
SDL2: found SDL header at /usr/include/SDL2/SDL.h
SDL2: found SDL_mixer header at /usr/include/SDL2/SDL_mixer.h
SDL2: found SDL_ttf header at /usr/include/SDL2/SDL_ttf.h
SDL2: found SDL_image header at /usr/include/SDL2/SDL_image.h
 Traceback (most recent call last):
   File "setup.py", line 934, in <module>
     version=get_version(),
   File "setup.py", line 47, in get_version
     ['git', 'rev-parse', 'HEAD']
   File "/usr/lib/python2.7/subprocess.py", line 567, in check_output
     process = Popen(stdout=PIPE, *popenargs, **kwargs)
   File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
     errread, errwrite)
   File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
     raise child_exception
 OSError: [Errno 2] No such file or directory

I'm looking forward to getting into the new version of Kivy.  Any help would be appreciated.

Thanks 

Paul

ZenCODE

unread,
Jun 8, 2017, 4:03:57 AM6/8/17
to Kivy users support
Looks like you are missing dependencies. For installing the development version, you need them. Have you installed these?

https://kivy.org/docs/installation/installation.html#installing-dependencies

st...@btp.nl

unread,
Jun 9, 2017, 3:59:18 AM6/9/17
to Kivy users support


On Thursday, June 8, 2017 at 10:03:57 AM UTC+2, ZenCODE wrote:
Looks like you are missing dependencies. For installing the development version, you need them. Have you installed these?

https://kivy.org/docs/installation/installation.html#installing-dependencies

Just compiled it yesterday on Debian Jessie (aka Stable) and noticed a lot of missing dependencies.
To be honest I think the kivy page is in need for a update as I needed to install a lot more dependencies on top of the ones listed on the page.
Anyway,this is what I have installed in addition to the 'regular' Debian jessie install :

(I needed Debian backports as theres a bug in opengl on Debian stable)

sudo apt-get install libsdl2-ttf-dev libsdl2-image-dev libsdl2-gfx-dev libsdl2-dev libsdl2-mixer-dev
sudo apt-get install libgl1-mesa-dev libgles2-mesa-dev zlib1g-dev python-pip
sudo apt-get install libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev libgstreamer-plugins-good1.0-dev
sudo apt-get install -t jessie-backports libgles2-mesa libgl1-mesa-dri libgl1-mesa-glx libdrm2
sudo apt-get install -t jessie-backports libwayland-egl1-mesa
 
clone kivy git
git checkout -b 1.10.1

python setup.py build_ext --inplace -f


Regards,
Stas
Reply all
Reply to author
Forward
0 new messages