agentscope-ai / agentscope-ai/agentscope

Python 3.11 安装报错 提示 Failed to build tiktoken error: failed-wheel-build-for-install

未关闭
#1,224 2 条评论 0 个 reaction 已指派 1 人 已被 @qbc2016 认领 在 GitHub 查看
state: awaiting feedback
主要语言
Python
星标
31.6k
派生
3.5k
平均合并
1 天 16 小时
30 天内合并 PR
103

描述

老师好,我centos7.9 、Python 3.11、 pip 26.0.1 安装报错 提示 Failed to build tiktoken error: failed-wheel-build-for-install,麻烦给看看怎么解决 谢谢

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.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tiktoken
Successfully built agentscope
Failed to build tiktoken
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> tiktoken

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。