-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Downloading scikit-learn (7.7MiB)
[backend] × Failed to build tiktoken==0.7.0
[backend] ├─▶ The build backend returned an error
[backend] ╰─▶ Call to setuptools.build_meta.build_wheel failed (exit status: 1)
[backend]
[backend] [stdout]
[backend] running bdist_wheel
[backend] running build
[backend] running build_py
[backend] copying tiktoken/registry.py ->
[backend] build/lib.macosx-11.0-arm64-cpython-313/tiktoken
[backend] copying tiktoken/init.py ->
[backend] build/lib.macosx-11.0-arm64-cpython-313/tiktoken
[backend] copying tiktoken/core.py ->
[backend] build/lib.macosx-11.0-arm64-cpython-313/tiktoken
[backend] copying tiktoken/model.py ->
[backend] build/lib.macosx-11.0-arm64-cpython-313/tiktoken
[backend] copying tiktoken/load.py ->
[backend] build/lib.macosx-11.0-arm64-cpython-313/tiktoken
[backend] copying tiktoken/_educational.py ->
[backend] build/lib.macosx-11.0-arm64-cpython-313/tiktoken
[backend] copying tiktoken_ext/openai_public.py ->
[backend] build/lib.macosx-11.0-arm64-cpython-313/tiktoken_ext
[backend] running egg_info
[backend] writing tiktoken.egg-info/PKG-INFO
[backend] writing dependency_links to tiktoken.egg-info/dependency_links.txt
[backend] writing requirements to tiktoken.egg-info/requires.txt
[backend] writing top-level names to tiktoken.egg-info/top_level.txt
[backend] reading manifest file 'tiktoken.egg-info/SOURCES.txt'
[backend] reading manifest template 'MANIFEST.in'
[backend] adding license file 'LICENSE'
[backend] writing manifest file 'tiktoken.egg-info/SOURCES.txt'
[backend] copying tiktoken/py.typed ->
[backend] build/lib.macosx-11.0-arm64-cpython-313/tiktoken
[backend] running build_ext
[backend] running build_rust
[backend]
[backend] [stderr]
[backend] /Users/stevenyxz/.cache/uv/builds-v0/.tmpMZ1zmz/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82:
[backend] SetuptoolsDeprecationWarning: project.license as a TOML table is
[backend] deprecated
[backend] !!
[backend]
[backend]
[backend] ********************************************************************************
[backend] Please use a simple string containing a SPDX expression for
[backend] project.license. You can also use project.license-files. (Both
[backend] options available on setuptools>=77.0.0).
[backend]
[backend] By 2027-Feb-18, you need to update your project and remove
[backend] deprecated calls
[backend] or your builds will no longer be supported.
[backend]
[backend] See
[backend] https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
[backend] for details.
[backend]
[backend] ********************************************************************************
[backend]
[backend] !!
[backend] corresp(dist, value, root_dir)
[backend] warning: no files found matching 'Makefile'
[backend] error: can't find Rust compiler
[backend]
[backend] If you are using an outdated pip version, it is possible a prebuilt
[backend] wheel is available for this package but pip is not able to install from
[backend] it. Installing from the wheel would avoid the need for a Rust compiler.
[backend]
[backend] To update pip, run:
[backend]
[backend] pip install --upgrade pip
[backend]
[backend] and then retry package installation.
[backend]
[backend] If you did intend to build this package from source, try installing
[backend] a Rust compiler from your system package manager and ensure it is
[backend] on the PATH during installation. Alternatively, rustup (available at
[backend] https://rustup.rs) is the recommended way to download and update the
[backend] Rust compiler toolchain.
[backend]
[backend] hint: This usually indicates a problem with the package or the build
[backend] environment.
[backend] help: tiktoken (v0.7.0) was included because mirofish-backend (v0.1.0)
[backend] depends on camel-ai (v0.2.78) which depends on tiktoken
[backend] npm run backend exited with code 1