[Python] Whenever i try to install jupyterlab with pip it gets error of Rust and Cargo

Discussão em 'Python' iniciado por Stack, Fevereiro 10, 2025.

  1. Stack

    Stack Membro Participativo

    while installing jupyerlab with the terminal with this following command pip install jupyterlab or pip install notebook or pip install jupyter, it gets me this error on terminal

    error: subprocess-exited-with-error

    x Preparing metadata (pyproject.toml) did not run successfully.
    │ exit code: 1
    ?─> [6 lines of output]

    Cargo, the Rust package manager, is not installed or is not on PATH.
    This package requires Rust and Cargo to compile extensions. Install it thr
    ough
    the system's package manager or via https://rustup.rs/

    Checking for Rust toolchain....
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem wit
    h pip.
    error: metadata-generation-failed

    x Encountered error while generating package metadata.
    ?─> See above for output.

    note: This is an issue with the package mentioned above, not pip.
    hint: See above for details.


    pip is updated i followed the hints and tryed to install rust with the link https://rustup.rs/ but then nothing changed and again followed the same terminal error. I'm on windows 7 64bits

    Continue reading...

Compartilhe esta Página