You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The situation with pip installing numpy or libraries that compile against numpy on apple m1 is very frustrating currently. There are no numpy binary wheels (numpy's official position is that apple m1 is not supported) and the source distribution fails to compile correctly due to the pinned wheel version in the numpy setup (currently for numpy 1.19.3--1.20.1), so any packages that use build isolation by default fail to get installed correctly. (numpy itself uses build isolation and so do our packages.) I should probably write a blog post on how to do this, but the basics are here:
If you just want to use spacy and you don't mind using conda, the easiest option is to install binary packages from conda-forge.
With pip, I think the easiest option if you just want to install spacy once and use it is the one with PIP_CONSTRAINT, but if you're modifying the library and recompiling frequently, the method for installing without build isolation is more suitable.
I don't recommend using the provided /usr/bin/python3 and the homebrew python3 is not going to work correctly in the source install until spacy v3.0.4 is released.
Let me move this to the new discussion topic we created for installation issues. This issue will be locked, but the new discussion thread will be open.
How to reproduce the problem
Run
pip3 install -U spacy
Your Environment
The text was updated successfully, but these errors were encountered: