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

Error on neupy import "cannot import name 'gcd' from 'fractions'" #284

Open
paulorlb opened this issue Oct 19, 2021 · 2 comments
Open

Error on neupy import "cannot import name 'gcd' from 'fractions'" #284

paulorlb opened this issue Oct 19, 2021 · 2 comments

Comments

@paulorlb
Copy link

When I tried to use the neupy library and run the neupy example (https://github.com/itdxer/neupy/blob/master/examples/competitive/sofm_basic.py) it gets the following error:

"cannot import name 'gcd' from 'fractions'"

@mhashemizadeh
Copy link

@pavrua @EdwardBetts
Any update.

@ElShappo
Copy link

ElShappo commented May 7, 2023

When I tried to use the neupy library and run the neupy example (https://github.com/itdxer/neupy/blob/master/examples/competitive/sofm_basic.py) it gets the following error:

"cannot import name 'gcd' from 'fractions'"

@pavrua @EdwardBetts Any update.

'gcd' has been moved to 'math' library, so you may change it yourselves.

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

3 participants