We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Python >= 3.9, import safe results in
import safe
ImportError: cannot import name 'gcd' from 'fractions'
I believe it is related to the math package
math
https://stackoverflow.com/questions/66174862/import-error-cant-import-name-gcd-from-fractions
The text was updated successfully, but these errors were encountered:
Can you provide a bit more information on how you installed safe ?
safe
Sorry, something went wrong.
hi! thanks for the quick reply I installed it with python -m pip install safe-mol I am using Python 3.9.16
python -m pip install safe-mol
Do you have a full trace ? Knowing where the exception happens could help. As this is likely from some downstream dependencies.
It's very likely that you could also have a corrupted env. Can you try on a fresh conda env with python 3.9.16 to see ?
No branches or pull requests
In Python >= 3.9,
import safe
results inImportError: cannot import name 'gcd' from 'fractions'
I believe it is related to the
math
packagehttps://stackoverflow.com/questions/66174862/import-error-cant-import-name-gcd-from-fractions
The text was updated successfully, but these errors were encountered: