返回顶部
首页 > 资讯 > 后端开发 > Python >QMimeDatabase: Error loading internal MIME data An error has been encountered at line 1 of <internal
  • 946
分享到

QMimeDatabase: Error loading internal MIME data An error has been encountered at line 1 of <internal

pythonqt 2023-09-02 17:09:44 946人浏览 薄情痞子

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

猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作