On Thu, Aug 13, 2020 at 3:19 AM Cameron Simpson <cs(a)cskk.id.au> wrote:
>I am trying to install kivy on Fedora 32, but I cannot find a rpm and
>pip runs into errors.
>
>Could someone please help me to install kivy on Fedora 32?
I haven't a Fedora box to hand, but I just ran this on the local Ubuntu
box:
[~]borg*> pip3 install kivy
+ exec /home/cameron/bin-cs/python3 -m pip install kivy
[...]
That's installing to a Python 3.7 virtualenv. I have no ideal if it
runs.
Can you transcribe your pip issues?
Thanks, Cameron. Below, it can be found my pip errors.
Paul
---------------------------------
$ python3 -m pip install kivy
Defaulting to user installation because normal site-packages is not writeable
Collecting kivy
Using cached Kivy-1.11.1.tar.gz (23.6 MB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize;
sys.argv[0] =
'"'"'/tmp/pip-install-v0mtnkqh/kivy/setup.py'"'"';
__file__='"'"'/tmp/pip-install-v0mtnkqh/kivy/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"',
open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code,
__file__, '"'"'exec'"'"'))'
egg_info --egg-base /tmp/pip-pip-egg-info-lpv6ou3w
cwd: /tmp/pip-install-v0mtnkqh/kivy/
Complete output (468 lines):
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Using setuptools
Using this graphics system: OpenGL
WARNING: A problem occurred while running pkg-config --libs
--cflags gstreamer-1.0 (code 1)
b"Package gstreamer-1.0 was not found in the pkg-config search
path.\nPerhaps you should add the directory containing
`gstreamer-1.0.pc'\nto the PKG_CONFIG_PATH environment
variable\nPackage 'gstreamer-1.0', required by 'virtual:world', not
found\n"
WARNING: A problem occurred while running pkg-config --libs
--cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
b"Package sdl2 was not found in the pkg-config search
path.\nPerhaps you should add the directory containing `sdl2.pc'\nto
the PKG_CONFIG_PATH environment variable\nPackage 'sdl2', required by
'virtual:world', not found\nPackage 'SDL2_ttf', required by
'virtual:world', not found\nPackage 'SDL2_image', required by
'virtual:world', not found\nPackage 'SDL2_mixer', required by
'virtual:world', not found\n"
WARNING: A problem occurred while running pkg-config --libs
--cflags pangoft2 (code 1)
b"Package pangoft2 was not found in the pkg-config search
path.\nPerhaps you should add the directory containing
`pangoft2.pc'\nto the PKG_CONFIG_PATH environment variable\nPackage
'pangoft2', required by 'virtual:world', not found\n"
ERROR: Dependency for context.pyx not resolved: config.pxi
ERROR: Dependency for compiler.pyx not resolved: config.pxi
ERROR: Dependency for context_instructions.pyx not resolved: config.pxi
ERROR: Dependency for fbo.pyx not resolved: config.pxi
ERROR: Dependency for gl_instructions.pyx not resolved: config.pxi
ERROR: Dependency for instructions.pyx not resolved: config.pxi
ERROR: Dependency for opengl.pyx not resolved: config.pxi
ERROR: Dependency for opengl_utils.pyx not resolved: config.pxi
ERROR: Dependency for shader.pyx not resolved: config.pxi
ERROR: Dependency for stencil_instructions.pyx not resolved: config.pxi
ERROR: Dependency for scissor_instructions.pyx not resolved: config.pxi
ERROR: Dependency for texture.pyx not resolved: config.pxi
ERROR: Dependency for vbo.pyx not resolved: config.pxi
ERROR: Dependency for vertex.pyx not resolved: config.pxi
ERROR: Dependency for vertex_instructions.pyx not resolved: config.pxi
ERROR: Dependency for cgl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_mock.pyx not resolved: config.pxi
ERROR: Dependency for cgl_gl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_glew.pyx not resolved: config.pxi
ERROR: Dependency for cgl_sdl2.pyx not resolved: config.pxi
ERROR: Dependency for svg.pyx not resolved: config.pxi
Compiling /tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.py
because it changed.
Compiling /tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Actions.py
because it changed.
Compiling /tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Compiler/Scanning.py
because it changed.
Compiling /tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Compiler/Visitor.py
because it changed.
Compiling /tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Compiler/FlowControl.py
because it changed.
Compiling /tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Runtime/refnanny.pyx
because it changed.
Compiling /tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Compiler/FusedNode.py
because it changed.
Compiling /tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Tempita/_tempita.py
because it changed.
[1/8] Cythonizing
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Compiler/FlowControl.py
[2/8] Cythonizing
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Compiler/FusedNode.py
[3/8] Cythonizing
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Compiler/Scanning.py
[4/8] Cythonizing
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Compiler/Visitor.py
[5/8] Cythonizing
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Actions.py
[6/8] Cythonizing
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.py
[7/8] Cythonizing
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Runtime/refnanny.pyx
[8/8] Cythonizing
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Tempita/_tempita.py
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:
In function ‘__Pyx_InitCachedConstants’:
/usr/include/python3.8/code.h:72:25: warning: passing argument 6
of ‘PyCode_New’ makes pointer from integer without a cast
[-Wint-conversion]
72 | #define CO_OPTIMIZED 0x0001
| ^
| |
| int
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:37:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
| ^
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7241:62:
note: in expansion of macro ‘CO_OPTIMIZED’
7241 | __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read,
113, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0,
113, __pyx_L1_error)
|
^~~~~~~~~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:123:34: note: expected ‘PyObject *’
{aka ‘struct _object *’} but argument is of type ‘int’
123 | int, int, int, int, int, PyObject *, PyObject *,
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7241:236:
warning: passing argument 14 of ‘PyCode_New’ makes integer from
pointer without a cast [-Wint-conversion]
7241 | __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read,
113, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0,
113, __pyx_L1_error)
|
^~~~~~~~~~~~~~
|
|
|
PyObject * {aka struct _object *}
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:69:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
|
^~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:125:33: note: expected ‘int’ but
argument is of type ‘PyObject *’ {aka ‘struct _object *’}
125 | PyObject *, PyObject *, int, PyObject *);
| ^~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7241:252:
warning: passing argument 15 of ‘PyCode_New’ makes pointer from
integer without a cast [-Wint-conversion]
7241 | __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read,
113, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0,
113, __pyx_L1_error)
|
^~~
|
|
|
int
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:75:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
|
^~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:125:38: note: expected ‘PyObject *’
{aka ‘struct _object *’} but argument is of type ‘int’
125 | PyObject *, PyObject *, int, PyObject *);
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:11:
error: too many arguments to function ‘PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7241:33:
note: in expansion of macro ‘__Pyx_PyCode_New’
7241 | __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read,
113, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0,
113, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:122:28: note: declared here
122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
| ^~~~~~~~~~
/usr/include/python3.8/code.h:72:25: warning: passing argument 6
of ‘PyCode_New’ makes pointer from integer without a cast
[-Wint-conversion]
72 | #define CO_OPTIMIZED 0x0001
| ^
| |
| int
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:37:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
| ^
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7253:62:
note: in expansion of macro ‘CO_OPTIMIZED’
7253 | __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py,
__pyx_n_s_position, 297, __pyx_empty_bytes); if
(unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 297, __pyx_L1_error)
|
^~~~~~~~~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:123:34: note: expected ‘PyObject *’
{aka ‘struct _object *’} but argument is of type ‘int’
123 | int, int, int, int, int, PyObject *, PyObject *,
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7253:236:
warning: passing argument 14 of ‘PyCode_New’ makes integer from
pointer without a cast [-Wint-conversion]
7253 | __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py,
__pyx_n_s_position, 297, __pyx_empty_bytes); if
(unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 297, __pyx_L1_error)
|
^~~~~~~~~~~~~~~~~~
|
|
|
PyObject * {aka struct _object *}
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:69:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
|
^~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:125:33: note: expected ‘int’ but
argument is of type ‘PyObject *’ {aka ‘struct _object *’}
125 | PyObject *, PyObject *, int, PyObject *);
| ^~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7253:256:
warning: passing argument 15 of ‘PyCode_New’ makes pointer from
integer without a cast [-Wint-conversion]
7253 | __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py,
__pyx_n_s_position, 297, __pyx_empty_bytes); if
(unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 297, __pyx_L1_error)
|
^~~
|
|
|
int
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:75:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
|
^~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:125:38: note: expected ‘PyObject *’
{aka ‘struct _object *’} but argument is of type ‘int’
125 | PyObject *, PyObject *, int, PyObject *);
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:11:
error: too many arguments to function ‘PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7253:33:
note: in expansion of macro ‘__Pyx_PyCode_New’
7253 | __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py,
__pyx_n_s_position, 297, __pyx_empty_bytes); if
(unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 297, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:122:28: note: declared here
122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
| ^~~~~~~~~~
/usr/include/python3.8/code.h:72:25: warning: passing argument 6
of ‘PyCode_New’ makes pointer from integer without a cast
[-Wint-conversion]
72 | #define CO_OPTIMIZED 0x0001
| ^
| |
| int
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:37:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
| ^
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7265:63:
note: in expansion of macro ‘CO_OPTIMIZED’
7265 | __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__9, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py,
__pyx_n_s_get_position, 308, __pyx_empty_bytes); if
(unlikely(!__pyx_codeobj__10)) __PYX_ERR(0, 308, __pyx_L1_error)
|
^~~~~~~~~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:123:34: note: expected ‘PyObject *’
{aka ‘struct _object *’} but argument is of type ‘int’
123 | int, int, int, int, int, PyObject *, PyObject *,
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7265:237:
warning: passing argument 14 of ‘PyCode_New’ makes integer from
pointer without a cast [-Wint-conversion]
7265 | __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__9, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py,
__pyx_n_s_get_position, 308, __pyx_empty_bytes); if
(unlikely(!__pyx_codeobj__10)) __PYX_ERR(0, 308, __pyx_L1_error)
|
^~~~~~~~~~~~~~~~~~~~~~
|
|
|
PyObject * {aka struct _object *}
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:69:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
|
^~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:125:33: note: expected ‘int’ but
argument is of type ‘PyObject *’ {aka ‘struct _object *’}
125 | PyObject *, PyObject *, int, PyObject *);
| ^~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7265:261:
warning: passing argument 15 of ‘PyCode_New’ makes pointer from
integer without a cast [-Wint-conversion]
7265 | __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__9, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py,
__pyx_n_s_get_position, 308, __pyx_empty_bytes); if
(unlikely(!__pyx_codeobj__10)) __PYX_ERR(0, 308, __pyx_L1_error)
|
^~~
|
|
|
int
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:75:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
|
^~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:125:38: note: expected ‘PyObject *’
{aka ‘struct _object *’} but argument is of type ‘int’
125 | PyObject *, PyObject *, int, PyObject *);
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:11:
error: too many arguments to function ‘PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7265:34:
note: in expansion of macro ‘__Pyx_PyCode_New’
7265 | __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__9, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py,
__pyx_n_s_get_position, 308, __pyx_empty_bytes); if
(unlikely(!__pyx_codeobj__10)) __PYX_ERR(0, 308, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:122:28: note: declared here
122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
| ^~~~~~~~~~
/usr/include/python3.8/code.h:72:25: warning: passing argument 6
of ‘PyCode_New’ makes pointer from integer without a cast
[-Wint-conversion]
72 | #define CO_OPTIMIZED 0x0001
| ^
| |
| int
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:37:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
| ^
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7277:63:
note: in expansion of macro ‘CO_OPTIMIZED’
7277 | __pyx_codeobj__12 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof,
334, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__12))
__PYX_ERR(0, 334, __pyx_L1_error)
|
^~~~~~~~~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:123:34: note: expected ‘PyObject *’
{aka ‘struct _object *’} but argument is of type ‘int’
123 | int, int, int, int, int, PyObject *, PyObject *,
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7277:238:
warning: passing argument 14 of ‘PyCode_New’ makes integer from
pointer without a cast [-Wint-conversion]
7277 | __pyx_codeobj__12 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof,
334, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__12))
__PYX_ERR(0, 334, __pyx_L1_error)
|
^~~~~~~~~~~~~
|
|
|
PyObject * {aka struct _object *}
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:69:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
|
^~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:125:33: note: expected ‘int’ but
argument is of type ‘PyObject *’ {aka ‘struct _object *’}
125 | PyObject *, PyObject *, int, PyObject *);
| ^~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7277:253:
warning: passing argument 15 of ‘PyCode_New’ makes pointer from
integer without a cast [-Wint-conversion]
7277 | __pyx_codeobj__12 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof,
334, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__12))
__PYX_ERR(0, 334, __pyx_L1_error)
|
^~~
|
|
|
int
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:75:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
|
^~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:125:38: note: expected ‘PyObject *’
{aka ‘struct _object *’} but argument is of type ‘int’
125 | PyObject *, PyObject *, int, PyObject *);
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:11:
error: too many arguments to function ‘PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:7277:34:
note: in expansion of macro ‘__Pyx_PyCode_New’
7277 | __pyx_codeobj__12 = (PyObject*)__Pyx_PyCode_New(1, 0, 1,
0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple,
__pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof,
334, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__12))
__PYX_ERR(0, 334, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:122:28: note: declared here
122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:
In function ‘__Pyx_CreateCodeObjectForTraceback’:
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:10051:9:
warning: passing argument 14 of ‘PyCode_New’ makes integer from
pointer without a cast [-Wint-conversion]
10051 | py_funcname, /*PyObject *name,*/
| ^~~~~~~~~~~
| |
| PyObject * {aka struct _object *}
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:69:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
|
^~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:125:33: note: expected ‘int’ but
argument is of type ‘PyObject *’ {aka ‘struct _object *’}
125 | PyObject *, PyObject *, int, PyObject *);
| ^~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:10052:9:
warning: passing argument 15 of ‘PyCode_New’ makes pointer from
integer without a cast [-Wint-conversion]
10052 | py_line,
| ^~~~~~~
| |
| int
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:75:
note: in definition of macro ‘__Pyx_PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
|
^~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:125:38: note: expected ‘PyObject *’
{aka ‘struct _object *’} but argument is of type ‘int’
125 | PyObject *, PyObject *, int, PyObject *);
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:333:11:
error: too many arguments to function ‘PyCode_New’
333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv,
cell, fn, name, fline, lnos)
| ^~~~~~~~~~
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:10038:15:
note: in expansion of macro ‘__Pyx_PyCode_New’
10038 | py_code = __Pyx_PyCode_New(
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/python3.8/compile.h:5,
from /usr/include/python3.8/Python.h:138,
from
/tmp/easy_install-okq7g3q2/Cython-0.29.10/Cython/Plex/Scanners.c:19:
/usr/include/python3.8/code.h:122:28: note: declared here
122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
| ^~~~~~~~~~
Unable to find pgen, not compiling formal grammar.
warning: no files found matching 'Doc/*'
warning: no files found matching '*.pyx' under directory
'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory
'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory
'Cython/Utility'
warning: no files found matching 'pyximport/README'
Traceback (most recent call last):
File "/usr/lib64/python3.8/distutils/unixccompiler.py", line
126, in _compile
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
File "/usr/lib64/python3.8/distutils/ccompiler.py", line 910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/usr/lib64/python3.8/distutils/spawn.py", line 36, in spawn
_spawn_posix(cmd, search_path, dry_run=dry_run)
File "/usr/lib64/python3.8/distutils/spawn.py", line 157, in
_spawn_posix
raise DistutilsExecError(
distutils.errors.DistutilsExecError: command 'gcc' failed with
exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/site-packages/setuptools/command/bdist_egg.py",
line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/usr/lib/python3.8/site-packages/setuptools/command/bdist_egg.py",
line 158, in call_command
self.run_command(cmdname)
File "/usr/lib64/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File
"/usr/lib/python3.8/site-packages/setuptools/command/install_lib.py",
line 11, in run
self.build()
File "/usr/lib64/python3.8/distutils/command/install_lib.py",
line 107, in build
self.run_command('build_ext')
File "/usr/lib64/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/site-packages/setuptools/command/build_ext.py",
line 84, in run
_build_ext.run(self)
File "/usr/lib64/python3.8/distutils/command/build_ext.py",
line 340, in run
self.build_extensions()
File "/usr/lib64/python3.8/distutils/command/build_ext.py",
line 449, in build_extensions
self._build_extensions_serial()
File "/usr/lib64/python3.8/distutils/command/build_ext.py",
line 474, in _build_extensions_serial
self.build_extension(ext)
File "/usr/lib/python3.8/site-packages/setuptools/command/build_ext.py",
line 205, in build_extension
_build_ext.build_extension(self, ext)
File "/usr/lib64/python3.8/distutils/command/build_ext.py",
line 528, in build_extension
objects = self.compiler.compile(sources,
File "/usr/lib64/python3.8/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/usr/lib64/python3.8/distutils/unixccompiler.py", line
129, in _compile
raise CompileError(msg)
distutils.errors.CompileError: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 154, in save_modules
yield saved
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 195, in setup_context
yield
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-okq7g3q2/Cython-0.29.10/setup.py", line
228, in <module>
This version of Cython is untested with Kivy. While this version may
File "/usr/lib/python3.8/site-packages/setuptools/__init__.py",
line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.8/distutils/core.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py",
line 1149, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 253, in run_setup
raise
File "/usr/lib64/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 195, in setup_context
yield
File "/usr/lib64/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python3.8/site-packages/setuptools/_vendor/six.py",
line 685, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 154, in save_modules
yield saved
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 195, in setup_context
yield
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3.8/site-packages/setuptools/sandbox.py",
line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-okq7g3q2/Cython-0.29.10/setup.py", line
228, in <module>
This version of Cython is untested with Kivy. While this version may
File "/usr/lib/python3.8/site-packages/setuptools/__init__.py",
line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3.8/distutils/core.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-v0mtnkqh/kivy/setup.py", line 1073, in
<module>
setup(
File "/usr/lib/python3.8/site-packages/setuptools/__init__.py",
line 144, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3.8/site-packages/setuptools/__init__.py",
line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3.8/site-packages/setuptools/dist.py",
line 717, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py",
line 780, in resolve
dist = best[req.key] = env.best_match(
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py",
line 1065, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py",
line 1077, in obtain
return installer(requirement)
File "/usr/lib/python3.8/site-packages/setuptools/dist.py",
line 787, in fetch_build_egg
return cmd.easy_install(req)
File
"/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py",
line 684, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File
"/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py",
line 710, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File
"/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py",
line 895, in install_eggs
return self.build_and_install(setup_script, setup_base)
File
"/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py",
line 1163, in build_and_install
self.run_setup(setup_script, setup_base, args)
File
"/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py",
line 1151, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error:
command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py
egg_info Check the logs for full command output.
$