New solution skill
ImportError: cannot import name 'gcd' from 'fractions'
Third-person routing text. Fixes ImportError for gcd from fractions on Python 3.9+: fractions.gcd was removed, math.gcd is the replacement. Update the import or upgrade the dependent package. Use when an agent hits this on old code with new Python. Not for other fractions removals.