Skip to content
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

[BUG] No support for python >= 3.9 #55

Open
albertbou92 opened this issue Aug 8, 2024 · 3 comments
Open

[BUG] No support for python >= 3.9 #55

albertbou92 opened this issue Aug 8, 2024 · 3 comments

Comments

@albertbou92
Copy link

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 albertbou92 changed the title [BUG] no support for python >= 3.9 [BUG] No support for python >= 3.9 Aug 8, 2024
@maclandrol
Copy link
Member

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

@albertbou92
Copy link
Author

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

@maclandrol
Copy link
Member

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants