E
E
Egor Letov2019-05-17 07:29:16
Python
Egor Letov, 2019-05-17 07:29:16

Hello I am trying to install python kivy library on ubuntu?

I have Ubuntu 18.04.2 LTS, when I try to execute the pip install kivy command, I installed the kivy library files themselves, but then I get the error "Failed building wheel for kivy" and then this
In file included from /tmp/pip-build-jTc7Og /kivy/kivy/graphics/opengl.c:594:0:
/tmp/pip-build-jTc7Og/kivy/kivy/include/gl_redirect.h:64:13: fatal error: GL/gl.h: No such file or directory
# include
^~~~~~~~~
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-jTc7Og/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-1Yt7Am-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-jTc7Og/kivy /
I don’t know what to do anymore, and Cython was downloading, please help!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2019-05-17
@sergey-gornostaev

Hello. Yes, it looks like you are trying to install the kivy python library on ubuntu.

V
Vadim Popov, 2019-05-17
@vadimpopov94

The plastic world has won

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question