Legacy Project Installation Support #13803
-
The question was about installing spaCy 3.1.4 on arm macs. It turns out that the newest rust toolchains error on undefined behavior in the required old version of the tokenizers library. To answer my own question, a temporary fix is to set the RUSTFLAGS environment flag to allow this: https://doc.rust-lang.org/beta/nightly-rustc/rustc_lint/reference_casting/static.INVALID_REFERENCE_CASTING.html |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
See the updated question with its own answer. Set the following before installation to work-around the rust compilation error in new toolchains when installing spaCy 3.1.4:
|
Beta Was this translation helpful? Give feedback.
See the updated question with its own answer.
Set the following before installation to work-around the rust compilation error in new toolchains when installing spaCy 3.1.4:
export RUSTFLAGS="-A invalid_reference_casting"