I'm using ubuntu 14.04 and I'm trying to installing the kivy package. The installation guide says to do:
sudo add-apt-repository ppa:kivy-team/kivy
sudo apt-get update
and then:
sudo apt-get install python-kivy
and shows this error:
The following packages have unmet dependencies:
python-kivy : Depends: python-kivy-bin (= 1.9.2-0~daily0+201609211917-3732-pkg135~ubuntu14.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
When I try to do: sudo apt-get install python-kivy python-kivy-bin Shows:
python-kivy-bin : Depends: libsdl2-2.0-0 (>= 2.0.0) but it is not going to be installed
Depends: libsdl2-image-2.0-0 (>= 2.0.0) but it is not going to be installed
Depends: libsdl2-mixer-2.0-0 (>= 2.0.0) but it is not going to be installed
Depends: libsdl2-ttf-2.0-0 (>= 2.0.0) but it is not going to be installed
Anyone knows how can I solve this?
sudo python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
Collecting pypiwin32Downloading pypiwin32-219.zip (4.8MB)100% |████████████████████████████████| 4.8MB 166kB/sComplete output from command python setup.py egg_info:Traceback (most recent call last):File "<string>", line 1, in <module>File "/tmp/pip-build-U7MTQm/pypiwin32/setup.py", line 83, in <module>import _winregImportError: No module named _winreg----------------------------------------Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-U7MTQm/pypiwin32//usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
Could not find a version that satisfies the requirement kivy.deps.gstreamer (from versions: )
No matching distribution found for kivy.deps.gstreamer
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
sudo python -m pip install kivy
In file included from /tmp/pip-build-BTpYRg/kivy/kivy/graphics/opengl.c:242:0:/tmp/pip-build-BTpYRg/kivy/kivy/graphics/gl_redirect.h:43:22: fatal error: GL/gl.h: Arquivo ou diretório não encontrado# include <GL/gl.h>^compilation terminated.error: command 'x86_64-linux-gnu-gcc' failed with exit status 1----------------------------------------Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-BTpYRg/kivy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-4I7fnP-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-BTpYRg/kivy//usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.