当python中导入decimal时求二个浮点数的精确问题时出现错误。
from decimal import Decimal print(Decimal('1.1')+Decimal('2.2'))
安装到你现在使用的解释器上呗