Форум сайта python.su
При установке aiogram вылетает ошибка.
Aiohttp обновлен
Preparing metadata (pyproject.toml) … error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─>
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
Checking for Rust toolchain….
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× 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.
Офлайн
Некоторые пакеты Python, такие как aiogram, требуют компиляции расширений, для чего требуется Rust и его менеджер пакетов Cargo.
Офлайн