Installing spacy-transformers on mac with m1 chip fails #7835
-
How to reproduce the behaviourpip install spacy-transformers and also failing (no error it just gets stuck every time): python -m spacy download de_dep_news_trf Your Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
Hi, it looks like the current If you want to use it in the meanwhile, you can install from the current First, you will need to install rust (for Then I think We can hopefully release the next version of |
Beta Was this translation helpful? Give feedback.
-
Has anything changed with regard to this issue? I tried installing
The same goes for spacy-tokenizers. Is there any way to resolve this? |
Beta Was this translation helpful? Give feedback.
Hi, it looks like the current
spacy-transformers
(v1.0.1) was released before there was a version oftokenizers
that can use a version of rust with support for the M1 architecture, so there's not a version oftokenizers
+transformers
that can be installed according to thespacy-transformers
v1.0.1 requirements.If you want to use it in the meanwhile, you can install from the current
master
branch in the github repo.First, you will need to install rust (for
tokenizers
andspacy-alignments
) and it's best to install pytorch separately first (probably:conda install pytorch -c conda-forge
).Then I think
pip install https://github.com/explosion/spacy-transformers/archive/master.zip
will work f…