sudo apt-get update
sudo apt-get install python3
cd
sudo rm -rf brotli/
git clone https://github.com/google/brotli.git
cd ~/brotli/
sudo python setup.py install
sudo make~/brotli/bin/bro --helpnpm install brotliIt needs to build the Python brotli extension. Not sure what the install command is doing, but build_ext is what the docs say: https://github.com/google/brotli/blob/master/python/README.md
You see the extension building code in the setup.py file in the root brotli project directory.
JD