报错:Failed to build tokenizers / # ERROR: Could not build wheels for tokenizers, which is required to

这篇具有很好参考价值的文章主要介绍了报错:Failed to build tokenizers / # ERROR: Could not build wheels for tokenizers, which is required to。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

报错:Failed to build tokenizers /

ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects

在安装tokenizers出现报错:
报错:Failed to build tokenizers / # ERROR: Could not build wheels for tokenizers, which is required to,python,linux,开发语言
然后去网上找各种解决方法,参考链接:ERROR:
原文作者原先是使用miniconda进行安装的时候报错的,但是换用conda以后就成功了,有条件的可以试试。

尝试了其中第一个方法:对pip以及wheel进行更新,pip install --upgrade pip setuptools wheel
很多人评价可以实现,但是我尝试了,还是会有一样的报错。(虽然原文作者的pip版本较低,但是好像也是不行);

于是开始尝试第二种方法:对pip进行降低版本处理 pip install pip==18.1,结果较之前更好,但是仍然会报错,应该是wheel的版本和pip不相匹配造成的结果,但是我更想尝试其他方法,所以开始尝试第三种方法;
报错:Failed to build tokenizers / # ERROR: Could not build wheels for tokenizers, which is required to,python,linux,开发语言
链接:这个
该方法能够成功安装tokenizers,具体原因不明。文章来源地址https://www.toymoban.com/news/detail-578563.html

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

到了这里,关于报错:Failed to build tokenizers / # ERROR: Could not build wheels for tokenizers, which is required to的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • pycocotools:ERROR: Could not build wheels for pycocotools, which is required to install pyproject...

    在pip安装YOLOv5包的时候出现错误 \\\"ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects\\\",在网上找了很多资料都行不通,最后参考博文 windows 安装pycocotools:ERROR: Could not build wheels for pycocotools, which is required to install py_放羊Wa的博客-CSDN博客 ERROR: Cou

    2024年02月11日
    浏览(48)
  • ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based

    记录一下,安装aiohttp库出现的问题 问题1:报两个错误, 解决方法:ERROR: Failed building wheel for yarl,根据这个,安装需要的库yarl, 用pip install yarl 不行,下载whl,用下面的就行 存档: Python Extension Packages for Windows - Christoph Gohlke 用这种格式安装   类似,ERROR: Failed building wheel

    2024年02月11日
    浏览(32)
  • paddleocr:ERROR: Could not build wheels for lanms-neo, which is required to install pyproject

    https://blog.csdn.net/zzpl139/article/details/127734431 Microsoft Visual Studio(简称VS)是美国微软公司的开发工具包系列产品。VS是一个基本完整的开发工具集,它包括了整个软件生命周期中所需要的大部分工具,如UML工具、代码管控工具、集成开发环境(IDE)等等。所写的目标代码适用于微软

    2024年02月13日
    浏览(35)
  • 成功解决:ERROR:Could not build wheels for pandas, which is required to install pyproject.toml-based

    python 3.10.5 pip 安装 pandas 问题 通过 pip install pandas 安装pandas 报错 :ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects; ERROR: Failed building wheel for pandas 缺失pandas对应的whl文件。 安装对应的whl文件 下载并安装对应的whl文件,可以通过以下地址下载。

    2024年02月12日
    浏览(36)
  • ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects

    ,ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects 报这个错的, 可以先根据这个下载正确的numpy版本 (48条消息) python3.10安装numpy,提示Building wheel for numpy (pyproject.toml) error_dxy819308563的博客-CSDN博客 以下是我在安装MockingBird依赖时才出现的问题 因为

    2024年02月12日
    浏览(54)
  • mac电脑运行ERROR: Could not build wheels for lap, which is required to install pyproject.toml-based

    阿萨德v·python环境建议是3.8 问题描述: 解决ERROR: Could not build wheels for bottleneck, which is required to install pyproject.toml-based ·做毕设的时候,安装paddlex库的时候,出现这个报错。 解决这个问题我是参考这个博主的文章解决的,无论是win系统还是Linux系统以及mac系统,都可以参考。

    2024年02月03日
    浏览(40)
  • ERROR: Could not build wheels for python-ldap, which is required to install pyproject.toml-base proj

    odoo安装 python-ldap 报错pyproject.toml-based,实际上,这个是一个Python3 安装报错。 下面是原始安装报错输出: 根本原因是由于操作系统没有完整安装必要的组件导致。 在安装应用前,请执行如下把操作系统更新至最新: 执行组件更新: 执行完成后,接着执行python-ldap安装: 安

    2024年02月11日
    浏览(51)
  • 【Bug】ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-ba

    报错信息: ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects 今天在笔记本上新建了一个python虚拟环境,需要安装opencv-python 命令如下: 本以为没啥事,会安装成功,意想不到的是,报错了! 最暴力的解决办法,换一个版本试试。。。。 安装

    2024年02月11日
    浏览(32)
  • 报错解决:Could not build wheels for soxr, which is required to install pyproject.toml-based projects

    报错信息如下: 这个错误提示显示编译soxr库时发生了错误,原因是缺少数学库的头文件。解决方法是安装对应的数学库,在Windows系统上,可以通过以下步骤安装Microsoft Visual C++ Build Tools和Windows SDK以获得所需的数学库头文件: 下载并安装 Microsoft Visual C++ Build Tools。可以从这

    2024年02月11日
    浏览(33)
  • cryptography构建报错(Could not build wheels for cryptography)

    一个经常开发的python项目,在今天打包镜像的时候突然报错,报错内容如下: 使用“Could not build wheels for cryptography, which is required to install pyproject.toml-based projects”去网络上搜集解决方法,都没有解决。接着,尝试重新初始化项目环境后重新打包镜像,还是报一样的错误。 很

    2023年04月08日
    浏览(39)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包