scottkleinman / lexos

Development repo for the Lexos API
MIT License
1 stars 0 forks source link

numpy incompatibility #30

Open scottkleinman opened 2 weeks ago

scottkleinman commented 2 weeks ago

The current dependency settings will now automatically install numpy 2.0, which is is incompatible with spaCy prior to v3.7. It is probably best to pin numpy to v1.26.0 and push a minor release. Once the entire package is upgraded, along with spaCy, numpy 2.0 can be used.

In the meantime, the workaround is to pip uninstall numpy followed by pip install numpy==1.26.0 before installing spaCy language models.