Python 官方文档:入门教程 => 点击学习
QMimeDatabase: Error loading internal MIME data An error has been encountered at line 1 of : Prematu
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://blog.csdn.net/qq_37797583/article/details/130005124
--结束END--
本文标题: QMimeDatabase: Error loading internal MIME data An error has been encountered at line 1 of <internal
本文链接: https://lsjlt.com/news/391159.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0