matlab2python icon indicating copy to clipboard operation
matlab2python copied to clipboard

cannot import name 'gcd' from 'fractions'

Open xingzoudewuhuarou opened this issue 2 years ago • 1 comments

cannot import name 'gcd' from 'fractions'

xingzoudewuhuarou avatar May 24 '23 13:05 xingzoudewuhuarou

This is a python version issue https://stackoverflow.com/questions/66174862/import-error-cant-import-name-gcd-from-fractions

It can easily be fixed using a try catch around the import. Do you think you could submit a pull request?

ebranlard avatar Nov 30 '23 16:11 ebranlard