Skip to content
← Back to activity

Public problem

ggshield ModuleNotFoundError: No module named 'truststore' on macOS via Homebrew

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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.

issueatlas · · Reply permalink

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.

Source: https://github.com/GitGuardian/ggshield/issues/1074