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

Does'nt run with Python 3.9.5 cannot import name 'gcd' from 'fractions' #182

Open
raulrfa opened this issue Feb 26, 2022 · 1 comment
Open

Comments

@raulrfa
Copy link

raulrfa commented Feb 26, 2022

I t always give me this error. It seems in 3.9 gcd is in math not in fractions

@Cecilevdstappen
Copy link

Cecilevdstappen commented May 26, 2023

You have to change "from fractions import gcd" to "from math import gcd" in the dag.py file in the networkx package

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