explosion / explosion/thinc

pipenv install failed with spacy 3.8.2 and thinc 8.3.2.

Open
#947 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.9k
Forks
295
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.