safe icon indicating copy to clipboard operation
safe copied to clipboard

[BUG] No support for python >= 3.9

Open albertbou92 opened this issue 1 year ago • 3 comments

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

albertbou92 avatar Aug 08 '24 16:08 albertbou92

Can you provide a bit more information on how you installed safe ?

maclandrol avatar Aug 08 '24 16:08 maclandrol

hi! thanks for the quick reply I installed it with python -m pip install safe-mol I am using Python 3.9.16

albertbou92 avatar Aug 08 '24 17:08 albertbou92

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 ?

maclandrol avatar Aug 08 '24 19:08 maclandrol