neupy icon indicating copy to clipboard operation
neupy copied to clipboard

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

Open paulorlb opened this issue 2 years ago • 2 comments

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'"

paulorlb avatar Oct 19 '21 16:10 paulorlb

@pavrua @EdwardBetts Any update.

mhashemizadeh avatar Mar 04 '23 12:03 mhashemizadeh

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.

ElShappo avatar May 07 '23 10:05 ElShappo