在FreeBSD上mitmproxy建置失敗的原因,只是因為它太重了,而且我沒有安裝Cargo。
大家好,我是無能。
我想在自己的環境中建置一個用於資料壓縮的VPN伺服器,所以正嘗試安裝mitmproxy。
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喔〜!...

你...竟然能突破極限嗎!
結束。