agentscope-ai / agentscope-ai/agentscope

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

Open
#1,224 2 comments 0 reactions 1 assignee Claimed by @qbc2016 View on GitHub
state: awaiting feedback
Dominant language
Python
Stars
31.6k
Forks
3.5k
Avg merge
1d 16h
Merged PRs (30d)
103

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.