In Python >= 3.9, `import safe` results in `ImportError: cannot import name 'gcd' from 'fractions' ` I believe it is related to the `math` package https://stackoverflow.com/questions/66174862/import-error-cant-import-name-gcd-from-fractions