agentscope-ai / agentscope-ai/agentscope

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

Offen
#1,224 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @qbc2016 Auf GitHub ansehen
state: awaiting feedback
Vorherrschende Sprache
Python
Sterne
31.6k
Forks
3.5k
Ø Merge
1 T. 16 Std.
Gemergte PRs (30 T.)
103

Beschreibung

老师好,我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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.