mitmproxy / mitmproxy

An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.
https://mitmproxy.org
MIT License
35.4k stars 3.96k forks source link

mac m1 | protobuf<3.19,>=3.14| only 3 can be used at least 20 #6881

Open zsq2010 opened 1 month ago

zsq2010 commented 1 month ago

protobuf<3.19,>=3.14

but as follows:


==> Updating Homebrew... Already up-to-date. (base) ➜ mitm brew search protobuf

==> Formulae protobuf protobuf-c protobuf@21 protobuf@3 ✔ swift-protobuf

==> Casks

/////////////////////////Can only get 3.20 ,which is protobuf@3 ✔ //////////////////////////////////////////////////////////////// (base) ➜ mitm brew install protobuf@3.18

==> Downloading https://formulae.brew.sh/api/formula.jws.json

O#-

==> Downloading https://formulae.brew.sh/api/cask.jws.json

O#-

Warning: No available formula with the name "protobuf@3.18". Did you mean protobuf@3 or protobuf@21? ==> Searching for similarly named formulae and casks... ==> Formulae protobuf@3 protobuf@21

To install protobuf@3, run: brew install protobuf@3 (base) ➜ mitm brew install protobuf@3

==> Downloading https://ghcr.io/v2/homebrew/core/protobuf/3/manifests/3.20.3-4 ######################################################################### 100.0% ==> Fetching protobuf@3 ==> Downloading https://ghcr.io/v2/homebrew/core/protobuf/3/blobs/sha256:38970c2 ######################################################################### 100.0% ==> Pouring protobuf@3--3.20.3.arm64_sonoma.bottle.4.tar.gz ==> Caveats protobuf@3 is keg-only, which means it was not symlinked into /opt/homebrew, because this is an alternate version of another formula.

If you need to have protobuf@3 first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/protobuf@3/bin:$PATH"' >> ~/.zshrc

mhils commented 1 month ago

Can you please rephrase what exactly the issue is? You cannot install mitmproxy?

zsq2010 commented 1 month ago

when running a script,for example,

Can you please rephrase what exactly the issue is? You cannot install mitmproxy?

图片
zsq2010 commented 1 month ago

brew on mac,can only find protobuf3 (which is 3.20 after install) there is no protobuf3x which version is lower than 3.20