-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python3.9 gcd
no longer in module fractions
#90
Comments
gcd
nolonger in module fractions
gcd
no longer in module fractions
It has been fixed in #84 . |
OK, then it should be the version problem. Pypi still only has the |
You could remind the manager to release a new version |
I'm not sure who to go to, maybe @lin714093880 could you make a new release? |
Published 0.4.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib/python3.9/fractions.py)
official document here:
Changed in version 3.9: The math.gcd() function is now used to normalize the numerator and denominator. math.gcd() always return a int type. Previously, the GCD type depended on numerator and denominator.
The text was updated successfully, but these errors were encountered: