macOS bigsur python3.9 install zh_core_web_sm error #7370
-
How to reproduce the problempython3 -m spacy download zh_core_web_sm when install pluses package, error..... # copy-paste the error message here Building wheels for collected packages: pkuseg
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is an issue with As an alternative, you should be able to build directly from their github repo instead with: pip install https://github.com/lancopku/pkuseg-python/archive/master.zip The only major difference is that this version will not include the In spacy v3+ we're switching to our own package for the same library ( |
Beta Was this translation helpful? Give feedback.
-
thank you very much. @adrianeboyd now, the spacy running well ~python3 -m spacy validate ====================== Installed models (spaCy v2.3.5) ====================== TYPE NAME MODEL VERSION |
Beta Was this translation helpful? Give feedback.
This is an issue with
.cpp
files included in the sdist that were generated with an older version of cython.As an alternative, you should be able to build directly from their github repo instead with:
The only major difference is that this version will not include the
default
model that's provided in their PyPI packages. If you want this model, download the same model (namedmixed
instead ofdefault
) from here: https://github.com/lancopku/pkuseg-python/releases/download/v0.0.16/mixed.zipIn spacy v3+ we're switching to our own package for the same library (
spacy-pkuseg
), so we can provide python 3.9 wheels and update…