-
Notifications
You must be signed in to change notification settings - Fork 220
Closed
Description
Hello,
I encountered an issue when attempting to install libcst==1.6.0 using Python 3.10. The installation fails with the following error message:
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.
This appears to be related to the upgrade of PyO3 to version 0.22 in PR #1180. It seems that the dependency on a Rust compiler was introduced with this change.
This issue makes it impossible to install libcst without a Rust compiler, which could be problematic for environments that do not have Rust installed.
Could you please clarify whether this behavior is intended? If not, is there a plan to provide prebuilt wheels for libcst==1.6.0 that would not require a Rust compiler?
Thank you!
miketheman, mm-matthias and ArthurD1
Metadata
Metadata
Assignees
Labels
No labels