Сборка mitmproxy на FreeBSD завершилась неудачей просто потому, что он был слишком тяжелым и Cargo не был установлен
Здравствуйте, я бездарь.
Я пытаюсь установить mitmproxy, чтобы построить VPN-сервер для сжатия данных у себя.
pip install mitmproxy
error: `cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --locked` failed with code 101
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for maturin
Failed to build maturin
ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
Эй! Он выдает ошибку!
Итак, вокруг Rust (хотя я вроде бы что-то устанавливал раньше).
curl --proto ‘=https’ --tlsv1.2 -sSf https://sh.rustup.rs | sh
. “$HOME/.cargo/env”
Да.
И вот снова я делаю pip install mitmproxy...!

Ты... можешь преодолеть предел?!
Конец.