Python dependencies for having detectron2 running on Mac OS

I am running on Mac M1 Pro, MacOS Monterey 12.3. My conda environment has Python 3.8 installed. GRPC has been installed grpcio.

CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'

I’ve followed this instruction for building grpcio. If you have problems with it, please install it through firebase-admin

Further reading

Read more in the tech topic.

Let's talk!

I'm Carlo Nicolini — I am interested on the reliability of AI reasoning systems (interpretability, inference-time methods, probabilistic language programming) and on quantitative portfolio optimization (I am a maintainer of skfolio). If you're working on something in these areas and think we might collaborate, chat, discuss, I'm happy to talk about it!

The best way to reach me is on via DM on LinkedIn.