Mitmproxy build failed on FreeBSD because it was simply too heavy and Cargo was not installed.

2 min

language: ja bn en es hi pt ru zh-cn zh-tw

Hello, I am incompetent.

I'm trying to install mitmproxy, thinking of building a VPN server for data compression on my own system.

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.

Hey! It's spitting out an error!

So, I'll deal with Rust (I thought I had installed something related to it before, though).

curl --proto ‘=https’ --tlsv1.2 -sSf https://sh.rustup.rs | sh

. “$HOME/.cargo/env”

Okay.

And then I'll do pip install mitmproxy again! ...

You... Can you break through the limit?!

End.

Related Posts