Open danielhallmann opened 4 weeks ago
pipenv install failed with spacy 8.3.2 and thinc 8.3.2.
Pipfile [[source]] name = "pypi" url = "https://pypi.org/simple" verify_ssl = true
[packages] spacy = "*" ...
Got this compiler error
building 'thinc.backends.cblas' extension thinc/backends/cblas.cpp:20824:70: error: too few arguments to function ‘int _PyLong_AsByteArray(PyLongObject, unsigned char, size_t, int, int, int)’ : 20824 | is_little, !is_unsigned); : | ^ : In file included from /usr/local/include/python3.13/longobject.h:107, : from /usr/local/include/python3.13/Python.h:81, : from thinc/backends/cblas.cpp:24: : /usr/local/include/python3.13/cpython/longobject.h:111:17: note: declared here : 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, : | ^~~~~~~ : error: command '/usr/bin/g++' failed with exit code 1
note: This error originates from a subprocess, and is likely not a problem with pip. : ERROR: Failed building wheel for thinc
Environment: Thinc 8.3.2 Spacy 3.8.2 Python 3.13.0 Linux 6.10.4
We don't have wheels up for 3.13 yet. The best solution is to install with --only-binary
--only-binary
pipenv install failed with spacy 8.3.2 and thinc 8.3.2.
Pipfile [[source]] name = "pypi" url = "https://pypi.org/simple" verify_ssl = true
[packages] spacy = "*" ...
Got this compiler error
building 'thinc.backends.cblas' extension thinc/backends/cblas.cpp:20824:70: error: too few arguments to function ‘int _PyLong_AsByteArray(PyLongObject, unsigned char, size_t, int, int, int)’ : 20824 | is_little, !is_unsigned); : | ^ : In file included from /usr/local/include/python3.13/longobject.h:107, : from /usr/local/include/python3.13/Python.h:81, : from thinc/backends/cblas.cpp:24: : /usr/local/include/python3.13/cpython/longobject.h:111:17: note: declared here : 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, : | ^
~~~~~~ : error: command '/usr/bin/g++' failed with exit code 1note: This error originates from a subprocess, and is likely not a problem with pip. : ERROR: Failed building wheel for thinc
Environment: Thinc 8.3.2 Spacy 3.8.2 Python 3.13.0 Linux 6.10.4