Spyder5未找到QCoreApplication实例。未应用应用程序补丁
升级后出现以下错误 Spyder 5
No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect.
界面看起来也“不好”(我猜没有样式表)。
降级到 Spyder 4 会导致所有内容都出现在单个列中(代码区域、控制台、变量资源管理器等,所有这些都在其他列之下,并且有丑陋的重叠以使其无法使用)。
我该如何解决这个问题?
回答
(这里是 Spyder 维护者)这是一个警告,它不会影响加载我们的新样式表。请忽略它。
注意:很遗憾您不喜欢我们的风格,因为它是 Spyder 从现在开始使用的风格。
- Thanks for providing spyder. It's a great IDE!! I just installed 5.0.0 in Ubuntu, but maybe what @Hrishikesh meant with "not nice" is e.g. that all dropdown menu icons overlap with the menu texts, and tab navigator arrows are on top of the right-most tab. I don't think that is "your style" now 😉 .. I installed miniconda freshly (python 3.9.2).
- The problem with icons overlapping text will be fixed in our 5.0.1 version. The other one (navigator arrows) will be fixed in 5.0.2, to be released in three weeks.
-
Another question about that warning:
You say it can be ignored, but can it also be eliminated somehow? It gives me an uncomfortable feeling as if I've installed something wrong or so. Does installing a certain package (or version of it) make the warning go away?
THE END
二维码