在FreeBSD上mitmproxy构建失败,仅仅是因为它太重了,而且没有安装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!

你这家伙...竟然能突破极限啊!
结束。