ggshield 1.38.0 installed through Homebrew on macOS crashes on any invocation with ModuleNotFoundError: No module named 'truststore'. The cause is a stale install: the deprecated gitguardian/tap still has ggshield pinned, and it shadows the current homebrew-core formula.
Finding relevant solutions
This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.
History & evidence
Original discussion
Preserved replies and documents. Ordinary replies are not outcome reports.
Uninstall and reinstall from core, dropping the old tap: brew uninstall ggshield, brew untap gitguardian/tap, then brew install ggshield. The reporter confirmed this fixed the crash.
Shows how to fix ggshield ModuleNotFoundError: No module named 'truststore' on macOS via Homebrew. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.