While building my work product on the fancy-schmancy M1 work Mac, I kept running into
clang errors, when I did a
Turns out, PyCLD3 would not build.
So I did it manually. This tip on Github did the trick
And then we run the following commands in a terminal …
brew install protobuf #install protobuf
# set various compiler flags
export CFLAGS='-I /opt/homebrew/opt/protobuf/include'
# install pycld3
python3 -m pip install pycld3
And we’re set!