转自http://t.csdn.cn/4cumT

报错:Failed to build tokenizers /

ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects
在安装tokenizers出现报错:
在这里插入图片描述

解决方法

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
. ~/.bashrc #重启终端
pip install transformers==2.5.1

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐