I'm trying to import a function called gcd from a module called fractions with from fractions import gcd. For some reason, PyCharm throws an ImportError:
from fractions import gcd
ImportError: cannot import name 'gcd' from 'fractions'
I had this working before, what am I doing wrong?