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:\anaconda\lib\site-packages\libs\canvas.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 版本太高 不兼容导致 换一个低一点的版本就好了

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/5788957483.html