v3n0m-Scanner / V3n0M-Scanner

Popular Pentesting scanner in Python3.6 for SQLi/XSS/LFI/RFI and other Vulns
GNU General Public License v3.0
1.44k stars 409 forks source link

Error with dependencies. #230

Closed Su8-z3r0 closed 1 year ago

Su8-z3r0 commented 1 year ago

I'm encountering the following error; '└──╼ $pip3 install url Defaulting to user installation because normal site-packages is not writeable Collecting url Using cached url-0.4.2.tar.gz (140 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: six in /usr/lib/python3/dist-packages (from url) (1.15.0) Building wheels for collected packages: url Building wheel for url (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [244 lines of output] Building from Cython /home/su8z3r0/.local/lib/python3.9/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-39 creating build/lib.linux-x86_64-cpython-39/url copying url/init.py -> build/lib.linux-x86_64-cpython-39/url creating build/lib.linux-x86_64-cpython-39/url/psl copying url/psl/2016-08-16.psl -> build/lib.linux-x86_64-cpython-39/url/psl running build_ext skipping 'url/url.cpp' Cython extension (up-to-date) building 'url.url' extension creating build/temp.linux-x86_64-cpython-39 creating build/temp.linux-x86_64-cpython-39/url creating build/temp.linux-x86_64-cpython-39/url/url-cpp creating build/temp.linux-x86_64-cpython-39/url/url-cpp/src x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.9 -c url/url-cpp/src/psl.cpp -o build/temp.linux-x86_64-cpython-39/url/url-cpp/src/psl.o -std=c++11 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.9 -c url/url-cpp/src/punycode.cpp -o build/temp.linux-x86_64-cpython-39/url/url-cpp/src/punycode.o -std=c++11 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.9 -c url/url-cpp/src/url.cpp -o build/temp.linux-x86_64-cpython-39/url/url-cpp/src/url.o -std=c++11 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.9 -c url/url-cpp/src/utf8.cpp -o build/temp.linux-x86_64-cpython-39/url/url-cpp/src/utf8.o -std=c++11 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.9 -c url/url.cpp -o build/temp.linux-x86_64-cpython-39/url/url.o -std=c++11 url/url.cpp: In function ‘PyObject PyInit_url()’: url/url.cpp:10054:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10054 | pyx_type_3url_3url_StringURL.tp_print = 0; | ^~~~ url/url.cpp:10059:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0; | ^~~~ url/url.cpp:10063:52: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10063 | pyx_type_3url_3url_pyx_scope_struct__deparam.tp_print = 0; | ^~~~ url/url.cpp:10066:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10066 | pyx_type_3url_3url_pyx_scope_struct_1_genexpr.tp_print = 0; | ^~~~ url/url.cpp:10069:59: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10069 | pyx_type_3url_3url_pyx_scope_struct_2_filter_params.tp_print = 0; | ^~~~ url/url.cpp:10072:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10072 | pyx_type_3url3urlpyx_scope_struct_3_genexpr.tp_print = 0; | ^~~~ url/url.cpp:10075:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10075 | pyx_type_3url_3url_pyx_scope_struct_4_genexpr.tp_print = 0; | ^~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from url/url.cpp:4: url/url.cpp: In function ‘int Pyx_ParseOptionalKeywords(PyObject, PyObject, PyObject, PyObject, Py_ssize_t, const char)’: /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~ url/url.cpp:10348:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ url/url.cpp:10348:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode( | ^~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~ url/url.cpp:10348:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~ url/url.cpp:10348:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ url/url.cpp:10348:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode( | ^~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~ url/url.cpp:10348:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~ url/url.cpp:10364:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ url/url.cpp:10364:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode( | ^~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~ url/url.cpp:10364:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~ url/url.cpp:10364:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ url/url.cpp:10364:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode( | ^~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~ url/url.cpp:10364:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ url/url.cpp: In function ‘PyObject Pyx_CyFunction_Call(PyObject, PyObject, PyObject)’: url/url.cpp:11625:39: warning: ‘PyObject PyCFunction_Call(PyObject, PyObject, PyObject)’ is deprecated [-Wdeprecated-declarations] 11625 | return PyCFunction_Call(func, arg, kw); | ^ In file included from /usr/include/python3.9/Python.h:111, from url/url.cpp:4: /usr/include/python3.9/methodobject.h:33:43: note: declared here 33 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyCFunction_Call(PyObject , PyObject , PyObject ); | ^~~~ url/url.cpp: In function ‘int __pyx_CyFunction_init()’: url/url.cpp:11690:41: warning: ‘PyObject PyCFunction_Call(PyObject, PyObject, PyObject*)’ is deprecated [-Wdeprecated-declarations] 11690 | pyx_CyFunctionType_type.tp_call = PyCFunction_Call; | ^~~~ In file included from /usr/include/python3.9/Python.h:111, from url/url.cpp:4: /usr/include/python3.9/methodobject.h:33:43: note: declared here 33 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyCFunction_Call(PyObject , PyObject , PyObject ); | ^~~~ url/url.cpp:11690:41: warning: ‘PyObject PyCFunction_Call(PyObject, PyObject, PyObject)’ is deprecated [-Wdeprecated-declarations] 11690 | pyx_CyFunctionType_type.tp_call = PyCFunction_Call; | ^~~~ In file included from /usr/include/python3.9/Python.h:111, from url/url.cpp:4: /usr/include/python3.9/methodobject.h:33:43: note: declared here 33 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyCFunction_Call(PyObject , PyObject , PyObject ); | ^~~~ url/url.cpp: In function ‘PyObject __Pyx_decode_c_bytes(const char, Py_ssize_t, Py_ssize_t, Py_ssize_t, const char, const char, PyObject ()(const char, Py_ssize_t, const char))’: url/url.cpp:11748:45: warning: ‘PyObject PyUnicode_FromUnicode(const Py_UNICODE, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations] 11748 | return PyUnicode_FromUnicode(NULL, 0); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from url/url.cpp:4: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~ url/url.cpp: In function ‘void Pyx__ExceptionSwap(PyThreadState*, PyObject, PyObject, PyObject*)’: url/url.cpp:12497:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 12497 | tmp_type = tstate->exc_type; | ^~~~ | curexc_type url/url.cpp:12498:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 12498 | tmp_value = tstate->exc_value; | ^~~~~ | curexc_value url/url.cpp:12499:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 12499 | tmp_tb = tstate->exc_traceback; | ^~~~~ | curexc_traceback url/url.cpp:12500:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 12500 | tstate->exc_type = type; | ^~~~ | curexc_type url/url.cpp:12501:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 12501 | tstate->exc_value = value; | ^~~~~ | curexc_value url/url.cpp:12502:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 12502 | tstate->exc_traceback = tb; | ^~~~~ | curexc_traceback error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for url Running setup.py clean for url Failed to build url Installing collected packages: url Running setup.py install for url ... error error: subprocess-exited-with-error

× Running setup.py install for url did not run successfully. │ exit code: 1 ╰─> [246 lines of output] Building from Cython /home/su8z3r0/.local/lib/python3.9/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running install /home/su8z3r0/.local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.linux-x86_64-cpython-39 creating build/lib.linux-x86_64-cpython-39/url copying url/init.py -> build/lib.linux-x86_64-cpython-39/url creating build/lib.linux-x86_64-cpython-39/url/psl copying url/psl/2016-08-16.psl -> build/lib.linux-x86_64-cpython-39/url/psl running build_ext skipping 'url/url.cpp' Cython extension (up-to-date) building 'url.url' extension creating build/temp.linux-x86_64-cpython-39 creating build/temp.linux-x86_64-cpython-39/url creating build/temp.linux-x86_64-cpython-39/url/url-cpp creating build/temp.linux-x86_64-cpython-39/url/url-cpp/src x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.9 -c url/url-cpp/src/psl.cpp -o build/temp.linux-x86_64-cpython-39/url/url-cpp/src/psl.o -std=c++11 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.9 -c url/url-cpp/src/punycode.cpp -o build/temp.linux-x86_64-cpython-39/url/url-cpp/src/punycode.o -std=c++11 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.9 -c url/url-cpp/src/url.cpp -o build/temp.linux-x86_64-cpython-39/url/url-cpp/src/url.o -std=c++11 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.9 -c url/url-cpp/src/utf8.cpp -o build/temp.linux-x86_64-cpython-39/url/url-cpp/src/utf8.o -std=c++11 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.9 -c url/url.cpp -o build/temp.linux-x86_64-cpython-39/url/url.o -std=c++11 url/url.cpp: In function ‘PyObject PyInit_url()’: url/url.cpp:10054:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10054 | pyx_type_3url_3url_StringURL.tp_print = 0; | ^~~~ url/url.cpp:10059:35: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0; | ^~~~ url/url.cpp:10063:52: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10063 | pyx_type_3url_3url_pyx_scope_struct__deparam.tp_print = 0; | ^~~~ url/url.cpp:10066:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10066 | pyx_type_3url_3url_pyx_scope_struct_1_genexpr.tp_print = 0; | ^~~~ url/url.cpp:10069:59: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10069 | pyx_type_3url_3url_pyx_scope_struct_2_filter_params.tp_print = 0; | ^~~~ url/url.cpp:10072:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10072 | pyx_type_3url3urlpyx_scope_struct_3_genexpr.tp_print = 0; | ^~~~ url/url.cpp:10075:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 10075 | pyx_type_3url_3url_pyx_scope_struct_4_genexpr.tp_print = 0; | ^~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from url/url.cpp:4: url/url.cpp: In function ‘int Pyx_ParseOptionalKeywords(PyObject, PyObject, PyObject, PyObject, Py_ssize_t, const char)’: /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~ url/url.cpp:10348:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ url/url.cpp:10348:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode( | ^~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~ url/url.cpp:10348:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~ url/url.cpp:10348:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ url/url.cpp:10348:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode( | ^~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~ url/url.cpp:10348:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10348 | (PyUnicode_GET_SIZE(name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~ url/url.cpp:10364:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ url/url.cpp:10364:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode( | ^~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~ url/url.cpp:10364:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~ url/url.cpp:10364:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ url/url.cpp:10364:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode( | ^~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~ url/url.cpp:10364:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 10364 | (PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ url/url.cpp: In function ‘PyObject Pyx_CyFunction_Call(PyObject, PyObject, PyObject)’: url/url.cpp:11625:39: warning: ‘PyObject PyCFunction_Call(PyObject, PyObject, PyObject)’ is deprecated [-Wdeprecated-declarations] 11625 | return PyCFunction_Call(func, arg, kw); | ^ In file included from /usr/include/python3.9/Python.h:111, from url/url.cpp:4: /usr/include/python3.9/methodobject.h:33:43: note: declared here 33 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyCFunction_Call(PyObject , PyObject , PyObject ); | ^~~~ url/url.cpp: In function ‘int __pyx_CyFunction_init()’: url/url.cpp:11690:41: warning: ‘PyObject PyCFunction_Call(PyObject, PyObject, PyObject*)’ is deprecated [-Wdeprecated-declarations] 11690 | pyx_CyFunctionType_type.tp_call = PyCFunction_Call; | ^~~~ In file included from /usr/include/python3.9/Python.h:111, from url/url.cpp:4: /usr/include/python3.9/methodobject.h:33:43: note: declared here 33 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyCFunction_Call(PyObject , PyObject , PyObject ); | ^~~~ url/url.cpp:11690:41: warning: ‘PyObject PyCFunction_Call(PyObject, PyObject, PyObject)’ is deprecated [-Wdeprecated-declarations] 11690 | pyx_CyFunctionType_type.tp_call = PyCFunction_Call; | ^~~~ In file included from /usr/include/python3.9/Python.h:111, from url/url.cpp:4: /usr/include/python3.9/methodobject.h:33:43: note: declared here 33 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyCFunction_Call(PyObject , PyObject , PyObject ); | ^~~~ url/url.cpp: In function ‘PyObject __Pyx_decode_c_bytes(const char, Py_ssize_t, Py_ssize_t, Py_ssize_t, const char, const char, PyObject ()(const char, Py_ssize_t, const char))’: url/url.cpp:11748:45: warning: ‘PyObject PyUnicode_FromUnicode(const Py_UNICODE, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations] 11748 | return PyUnicode_FromUnicode(NULL, 0); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:97, from url/url.cpp:4: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~ url/url.cpp: In function ‘void Pyx__ExceptionSwap(PyThreadState*, PyObject, PyObject, PyObject*)’: url/url.cpp:12497:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 12497 | tmp_type = tstate->exc_type; | ^~~~ | curexc_type url/url.cpp:12498:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 12498 | tmp_value = tstate->exc_value; | ^~~~~ | curexc_value url/url.cpp:12499:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 12499 | tmp_tb = tstate->exc_traceback; | ^~~~~ | curexc_traceback url/url.cpp:12500:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 12500 | tstate->exc_type = type; | ^~~~ | curexc_type url/url.cpp:12501:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 12501 | tstate->exc_value = value; | ^~~~~ | curexc_value url/url.cpp:12502:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 12502 | tstate->exc_traceback = tb; | ^~~~~ | curexc_traceback error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> url

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. ' Would someone tell me how i could fix this plz?