出现这个问题通常都是导包的时候没有导到位,没有把类导入进去blog
错的from test_2.utils import BackProgationio
正确的from test_2.utils.BackProgation import backProgationtest