Skip to content

macOS bigsur python3.9 install zh_core_web_sm error #7370

Discussion options

You must be logged in to vote

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:

pip install https://github.com/lancopku/pkuseg-python/archive/master.zip

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 (named mixed instead of default) from here: https://github.com/lancopku/pkuseg-python/releases/download/v0.0.16/mixed.zip

In 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…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@46319943
Comment options

Answer selected by ines
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation issues osx Issues related to macOS / OSX
3 participants
Converted from issue

This discussion was converted from issue #6666 on March 09, 2021 13:26.