Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install failing on kubuntu 20.04 #75

Closed
dantti opened this issue May 25, 2020 · 3 comments
Closed

install failing on kubuntu 20.04 #75

dantti opened this issue May 25, 2020 · 3 comments

Comments

@dantti
Copy link

dantti commented May 25, 2020

some errors:

ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b1phyb9o/kivy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b1phyb9o/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-wmee5ot5 cwd: /tmp/pip-install-b1phyb9o/kivy/ Complete output (668 lines): fatal: not a git repository (or any of the parent directories): .git ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-52mhf973/cython/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-52mhf973/cython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ugtpsi0m cwd: /tmp/pip-wheel-52mhf973/cython/ Complete output (598 lines): Unable to find pgen, not compiling formal grammar.

creating build/temp.linux-x86_64-3.8/tmp/pip-wheel-52mhf973/cython/Cython/Plex                                                                                                                              
  x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c /tmp/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c -o build/temp.linux-x86_64-3.8/tmp/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.o                                                                                                                                                                                              
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: declared here                                                                                                                                                   
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c: In function ‘__Pyx_CreateCodeObjectForTraceback’:                                                                                                    
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’                                                                                    
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  /tmp/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/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/pip-wheel-52mhf973/cython/Cython/Plex/Scanners.c:19:                                                                                                                             
  /usr/include/python3.8/code.h:122:28: note: declared here                                                                                                                                                   
    122 | PyAPI_FUNC(PyCodeObject *) PyCode_New(                                                                                                                                                              
        |                            ^~~~~~~~~~                                                                                                                                                               
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1                                                                                                                                             
  ----------------------------------------                                                                                                                                                                    
  ERROR: Failed building wheel for cython                                                                                                                                                                     
ERROR: Failed to build one or more wheels                                                                                                                                                                     
 Traceback (most recent call last):                                                                                                                                                                           
   File "/root/.local/lib/python3.8/site-packages/setuptools/installer.py", line 128, in fetch_build_egg                                                                                                      
     subprocess.check_call(cmd)                                                                                                                                                                               
   File "/usr/lib/python3.8/subprocess.py", line 364, in check_call                                                                                                                                           
     raise CalledProcessError(retcode, cmd)                                                                                                                                                                   
 subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpvll9vibn', '--quiet', '--find-links', 'https://github.com/kivy-garden/garden/archive/master.zip', 'cython!=0.27,!=0.27.2,<=0.29.10,>=0.24']' returned non-zero 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-b1phyb9o/kivy/setup.py", line 1073, in <module>                                                                                                                                     
     setup(                                                                                                                                                                                                   
   File "/root/.local/lib/python3.8/site-packages/setuptools/__init__.py", line 143, in setup                                                                                                                 
     _install_setup_requires(attrs)                                                                                                                                                                           
   File "/root/.local/lib/python3.8/site-packages/setuptools/__init__.py", line 138, in _install_setup_requires                                                                                               
     dist.fetch_build_eggs(dist.setup_requires)                                                                                                                                                               
   File "/root/.local/lib/python3.8/site-packages/setuptools/dist.py", line 695, in fetch_build_eggs                                                                                                          
     resolved_dists = pkg_resources.working_set.resolve(                                                                                                                                                      
   File "/root/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 781, in resolve                                                                                                            
     dist = best[req.key] = env.best_match(                                                                                                                                                                   
   File "/root/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1066, in best_match                                                                                                        
     return self.obtain(req, installer)                                                                                                                                                                       
   File "/root/.local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1078, in obtain                                                                                                            
     return installer(requirement)                                                                                                                                                                            
   File "/root/.local/lib/python3.8/site-packages/setuptools/dist.py", line 754, in fetch_build_egg                                                                                                           
     return fetch_build_egg(self, req)                                                                                                                                                                        
   File "/root/.local/lib/python3.8/site-packages/setuptools/installer.py", line 130, in fetch_build_egg                                                                                                      
     raise DistutilsError(str(e))                                                                                                                                                                             
 distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpvll9vibn', '--quiet', '--find-links', 'https://github.com/kivy-garden/garden/archive/master.zip', 'cython!=0.27,!=0.27.2,<=0.29.10,>=0.24']' returned non-zero exit status 1.
Using setuptools
Environ change use_x11 -> True
Using this graphics system: OpenGL
GStreamer found via pkg-config
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
Pango: pangoft2 found via pkg-config
{'libraries': ['pangoft2-1.0', 'pango-1.0', 'gobject-2.0', 'glib-2.0', 'harfbuzz', 'fontconfig', 'freetype'], 'include_dirs': ['/tmp/pip-install-b1phyb9o/kivy/kivy/include', '/usr/include/pango-1.0', '/usr/include/fribidi', '/usr/include/cairo', '/usr/include/pixman-1', '/usr/include/harfbuzz', '/usr/include/glib-2.0', '/usr/lib/x86_64-linux-gnu/glib-2.0/include', '/usr/include/uuid', '/usr/include/freetype2', '/usr/include/libpng16'], 'library_dirs': [], 'extra_link_args': [], 'extra_compile_args': [], 'depends': ['lib/pango/pangoft2.pxi', 'lib/pango/pangoft2.h']}
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
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@SinavAhmet
Copy link

Same problem on ubuntu 20.04

@iGom
Copy link

iGom commented Jul 11, 2020

same problem on Lubuntu 20.04
sudo pip install -r requirements_linux.sh
ERROR: Invalid requirement: '<!DOCTYPE html>' (from line 6 of requirements_linux.sh)

@nicoboss
Copy link
Owner

nicoboss commented Sep 6, 2020

Thanks a lot for reporting! This was fixed on the latest NSZ v4.0 release.
Since the NSZ v4.0 release every Linux distribution with Python 3.6 or later should be able to just pip3 install nsz to get the CLI version. Every modern Linux distribution using apt should be able to build the GUI version from source using install_linux.sh - others might need to edit install_linux.sh to match their distribution specific package installer.

same problem on Lubuntu 20.04
sudo pip install -r requirements_linux.sh
ERROR: Invalid requirement: '<!DOCTYPE html>' (from line 6 of requirements_linux.sh)

No you don't pip3 install the install_linux.sh (earlier named requirements_linux.sh) file but instead execute it.

@nicoboss nicoboss closed this as completed Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants