安装依赖rust compiler

问题:If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

已解决:

I managed to solve the issue by installing Rust compiler

  • Install Rust link curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Restart the terminal
  • pip install transformers==2.5.1

版权声明:本文为m0_60611596原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。