**报错:**AttributeError: module ‘mpmath’ has no attribute ‘rational’
解决:
pip install mpmath==1.3.0
原因:
最新版本的mpmath有变动,直接使用旧版本即可
**报错:**AttributeError: module ‘mpmath’ has no attribute ‘rational’
解决:
pip install mpmath==1.3.0
原因:
最新版本的mpmath有变动,直接使用旧版本即可