问题描述:
在arm架构下安装pip包时报错:
error: can't find Rust compiler
ERROR: Failed building wheel for tokenizers
参考如下:
https://github.com/huggingface/transformers/issues/2831#issuecomment-600141935
- Install Rust link
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
根据提示操作,安装完成后重新试验看是否能够安装成功。
numpy版本可能需要调整为numpy==1.19.4