Closed horizonl closed 3 years ago
I encountered import error in the chap01.ipynb, based on the bug tracer, fractions.gcd() is replaced by math.gcd(). I change 'fractions' to 'math' in thinkdsp.py line 19 , error gone.
Turns out I'm not using gcd anyway. I will remove this import.
gcd
Thanks for letting me know!
I encountered import error in the chap01.ipynb, based on the bug tracer, fractions.gcd() is replaced by math.gcd(). I change 'fractions' to 'math' in thinkdsp.py line 19 , error gone.