QMimeDatabase: Error loading internal MIME data An error has been encountered at line 1 of <internal
QMimeDatabase: Error loading internal MIME data
 An error has been encountered at line 1 of : Premature end of document.:
 Traceback (most recent call last):
 File “D:anacondalibsite-packageslibscanvas.py”, line 530, in paintEvent
 p.drawLine(self.prev_point.x(), 0, self.prev_point.x(), self.pixmap.height())
 TypeError: arguments did not match any overloaded call:
 drawLine(self, QLineF): argument 1 has unexpected type ‘float’
 drawLine(self, QLine): argument 1 has unexpected type ‘float’
 drawLine(self, int, int, int, int): argument 1 has unexpected type ‘float’
 drawLine(self, QPoint, QPoint): argument 1 has unexpected type ‘float’
 drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type ‘float’
 这个问题是python 版本太高 不兼容导致 换一个低一点的版本就好了