-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Everytime while installing it fails with error that Rust compiler is required. Is it mandatory to have rust? I tried python 3.8 and higher and on apple mac os and windows too.
copying py_src/tokenizers/tools/visualizer-styles.css -> build/lib.macosx-11-universal2-cpython-38/tokenizers/tools
running build_ext
running build_rust
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
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 tokenizers
Failed to build tokenizers
ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels