pysurvival icon indicating copy to clipboard operation
pysurvival copied to clipboard

Install error

Open Tommyj117 opened this issue 2 years ago • 2 comments

Get this error during install....

/usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ pysurvival/cpp_extensions/_non_parametric.cpp:9677:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 9677 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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. ╰─> pysurvival

Tommyj117 avatar Nov 07 '23 18:11 Tommyj117

might try installing c++ compliler and python 3.7 venv

morinstar avatar Dec 27 '23 02:12 morinstar

Thanks, I’ll give it a try

On Tue, Dec 26, 2023 at 9:27 PM morinstar @.***> wrote:

might try installing c++ compliler and python 3.7 venv

— Reply to this email directly, view it on GitHub https://github.com/square/pysurvival/issues/71#issuecomment-1869888003, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDZZVEVB2XGWSS5O6RY5CGDYLOBPXAVCNFSM6AAAAAA7BVWG6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZHA4DQMBQGM . You are receiving this because you authored the thread.Message ID: @.***>

Tommyj117 avatar Dec 27 '23 14:12 Tommyj117