agentscope-ai / agentscope-ai/agentscope

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

オープン
#1,224 コメント 2 件 リアクション 0 件 担当者 1 名 @qbc2016 が担当を希望しています GitHub で見る
state: awaiting feedback
主要言語
Python
スター
31.6k
フォーク
3.5k
平均マージ
1日 16時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。