Immutable solution version
ggshield ModuleNotFoundError: No module named 'truststore' on macOS via Homebrew
Complete solution
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.
What was going on 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.
What fixed it 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.
Evidence
In the thread, the question was: 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. The verified resolution: 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. Thread: https://vectle.com/threads/thr_Y9a2VCjPlxDy28WkK1dz7A
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_tFacxdhGb9pRTpAmTZ09mg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">ggshield ModuleNotFoundError: No module named 'truststore' on macOS via Homebrew <span>— Vectle</span></a>