您的位置:首页 > 新闻 > 资讯 > 网页设计论文目录_怎样申请企业邮箱账号_网站优化北京seo_重庆网站建设哪家好

网页设计论文目录_怎样申请企业邮箱账号_网站优化北京seo_重庆网站建设哪家好

2025/4/11 13:12:43 来源:https://blog.csdn.net/u013938578/article/details/146949976  浏览:    关键词:网页设计论文目录_怎样申请企业邮箱账号_网站优化北京seo_重庆网站建设哪家好
网页设计论文目录_怎样申请企业邮箱账号_网站优化北京seo_重庆网站建设哪家好

今天安装tokenizers报错,如下图:

C:\Users\xiongpeng\LLaMA-Factory\tokenizers\bindings\python>pip install -e .\
Obtaining file:///C:/Users/xiongpeng/LLaMA-Factory/tokenizers/bindings/pythonInstalling build dependencies ... canceled
ERROR: Operation cancelled by userC:\Users\xiongpeng\LLaMA-Factory\tokenizers\bindings\python>pip install -e .
Obtaining file:///C:/Users/xiongpeng/LLaMA-Factory/tokenizers/bindings/pythonInstalling build dependencies ... doneChecking if build backend supports build_editable ... doneGetting requirements to build editable ... donePreparing editable metadata (pyproject.toml) ... errorerror: subprocess-exited-with-error× Preparing editable metadata (pyproject.toml) did not run successfully.│ exit code: 1╰─> [6 lines of output]Cargo, the Rust package manager, is not installed or is not on PATH.This package requires Rust and Cargo to compile extensions. Install it throughthe system's package manager or via https://rustup.rs/Checking for Rust toolchain....[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed× Encountered error while generating package metadata.
╰─> See above for output.note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

到 https://rustup.rs/ 网站 , 下载 rust 安装包 rustup-init.exe ; 点击下图中的链接 , 即可下载 ;

运行上述 rustup-init.exe 程序 , 弹出如下对话框 :

在上述命令行中 , 给出了 C:\Users\xiongpeng\bin 的路径 , 这是 Cargo 可执行程序的目录 , 必须将该目录配置到 Path 环境中 , 才能解决 Cargo, the Rust package manager, is not installed or is not on PATH. 报错 ;

下一步选择 , 直接点击回车 , 默认安装即可 ;安装过程中 , 会下载相关依赖 , 等待下载安装完成 ;

安装完成后,执行下列命令:

rustc --version
cargo --version

如下图:

再执行之前的安装命令即可。

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com