NoPaste

pip3 install cython kivy

von Trollkirsche

Dein Code:
  1. In file included from /tmp/pip-install-fcinf7ui/kivy/kivy/graphics/context.c:614:
  2.   /tmp/pip-install-fcinf7ui/kivy/kivy/include/gl_redirect.h:64:13: fatal error: GL/gl.h: Datei oder Verzeichnis nicht gefunden
  3.    #   include <GL/gl.h>
  4.               ^~~~~~~~~
  5.   compilation terminated.
  6.    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  7.  
  8.   ----------------------------------------
  9.   Failed building wheel for kivy
  10.   Running setup.py clean for kivy
  11. Failed to build kivy
  12. Installing collected packages: kivy
  13.   Running setup.py install for kivy ... error
  14.     Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-fcinf7ui/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-record-y0onuiyg/install-record.txt --single-version-externally-managed --compile:
  15.     Using distutils
  16.    
  17.     Detected Cython version 0.29.2
  18.       This version of Cython is untested with Kivy. While this version may
  19.       work perfectly fine, it is possible that you may experience issues. If
  20.       you do have issues, please downgrade to a supported version. It is
  21.       best to use the newest supported version, 0.28.2, but the minimum
  22.       supported version is 0.23.
  23.    
  24.       If your platform provides a Cython package, check if you can downgrade
  25.       to a supported version. Otherwise, uninstall the platform package and
  26.       install Cython via pip:
  27.    
  28.         pip install -I Cython==0.28.2
  29.    
  30.       Please note that the following versions of Cython are not supported
  31.       at all: 0.27, 0.27.2
  32.    
  33.     Using this graphics system: OpenGL
  34.     WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 127)
  35.    
  36.     b'/bin/sh: 1: pkg-config: not found\n'
  37.    
  38.     WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 127)
  39.    
  40.     b'/bin/sh: 1: pkg-config: not found\n'
  41.    
  42.     fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git
  43.      /usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'extra_requires''/tmp/pip-install-fcinf7ui/kivy/kivy/_event.c' Cython extension (up-to-date)
  44.     building 'kivy._event' extension
  45.     creating build/temp.linux-x86_64-3.7
  46.     creating build/temp.linux-x86_64-3.7/tmp
  47.     creating build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui
  48.     creating build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy
  49.     creating build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy
  50.     x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-install-fcinf7ui/kivy/kivy/include -I/usr/include/python3.7m -c /tmp/pip-install-fcinf7ui/kivy/kivy/_event.c -o build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/_event.o
  51.     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/_event.o -o build/lib.linux-x86_64-3.7/kivy/_event.cpython-37m-x86_64-linux-gnu.so -lm
  52.     skipping '/tmp/pip-install-fcinf7ui/kivy/kivy/_clock.c' Cython extension (up-to-date)
  53.     building 'kivy._clock' extension
  54.     x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c /tmp/pip-install-fcinf7ui/kivy/kivy/_clock.c -o build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/_clock.o
  55.     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/_clock.o -o build/lib.linux-x86_64-3.7/kivy/_clock.cpython-37m-x86_64-linux-gnu.so -lm
  56.     skipping '/tmp/pip-install-fcinf7ui/kivy/kivy/weakproxy.c' Cython extension (up-to-date)
  57.     building 'kivy.weakproxy' extension
  58.     x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c /tmp/pip-install-fcinf7ui/kivy/kivy/weakproxy.c -o build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/weakproxy.o
  59.     /tmp/pip-install-fcinf7ui/kivy/kivy/weakproxy.c:2796:12: warning: ‘__pyx_pw_4kivy_9weakproxy_9WeakProxy_23__bool__’ defined but not used [-Wunused-function]
  60.      static int __pyx_pw_4kivy_9weakproxy_9WeakProxy_23__bool__(PyObject *__pyx_v_self) {
  61.                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  62.     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/weakproxy.o -o build/lib.linux-x86_64-3.7/kivy/weakproxy.cpython-37m-x86_64-linux-gnu.so -lm
  63.     skipping '/tmp/pip-install-fcinf7ui/kivy/kivy/properties.c' Cython extension (up-to-date)
  64.     building 'kivy.properties' extension
  65.     x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-install-fcinf7ui/kivy/kivy/include -I/usr/include/python3.7m -c /tmp/pip-install-fcinf7ui/kivy/kivy/properties.c -o build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/properties.o
  66.     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/properties.o -o build/lib.linux-x86_64-3.7/kivy/properties.cpython-37m-x86_64-linux-gnu.so -lm
  67.     skipping '/tmp/pip-install-fcinf7ui/kivy/kivy/graphics/buffer.c' Cython extension (up-to-date)
  68.     building 'kivy.graphics.buffer' extension
  69.     creating build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/graphics
  70.     x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-install-fcinf7ui/kivy/kivy/include -I/tmp/pip-install-fcinf7ui/kivy/kivy/include -I/usr/include/python3.7m -c /tmp/pip-install-fcinf7ui/kivy/kivy/graphics/buffer.c -o build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/graphics/buffer.o
  71.     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/graphics/buffer.o -o build/lib.linux-x86_64-3.7/kivy/graphics/buffer.cpython-37m-x86_64-linux-gnu.so -lm
  72.     skipping '/tmp/pip-install-fcinf7ui/kivy/kivy/graphics/context.c' Cython extension (up-to-date)
  73.     building 'kivy.graphics.context' extension
  74.     x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-install-fcinf7ui/kivy/kivy/include -I/tmp/pip-install-fcinf7ui/kivy/kivy/include -I/usr/include/python3.7m -c /tmp/pip-install-fcinf7ui/kivy/kivy/graphics/context.c -o build/temp.linux-x86_64-3.7/tmp/pip-install-fcinf7ui/kivy/kivy/graphics/context.o
  75.     In file included from /tmp/pip-install-fcinf7ui/kivy/kivy/graphics/context.c:614:
  76.     /tmp/pip-install-fcinf7ui/kivy/kivy/include/gl_redirect.h:64:13: fatal error: GL/gl.h: Datei oder Verzeichnis nicht gefunden
  77.      #   include <GL/gl.h>
  78.                 ^~~~~~~~~
  79.     compilation terminated.
  80.      error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  81.    
  82.     ----------------------------------------
  83. Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-fcinf7ui/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-record-y0onuiyg/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-fcinf7ui/kivy/

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. Alternativ kannst du den gesamten Eintrag auch als Datei herunterladen.