简体   繁体   English

Windows 8不兼容?

[英]windows 8 incompatibility?

I cannot get my code to run on my win8 laptop. 我无法在Win8笔记本电脑上运行代码。 I am working with a combination of: 我正在与以下各项结合使用:

  • Stackless Python 2.7.2 无堆栈Python 2.7.2
  • Qt 4.8.4 Qt 4.8.4
  • PySide 1.1.2 PySide 1.1.2
  • Eclipse/Pydev and WingIDE Eclipse / Pydev和WingIDE

This works well on my Win7 PC, but now i have bought a demo laptop with windows 8. As far as I know all is installed the same way as on my PC. 这在我的Win7 PC上很好用,但是现在我购买了带Windows 8的演示笔记本电脑。据我所知,所有笔记本电脑的安装方式都与PC上的安装方式相同。

When i run my program (same code) now, i get a warning: 当我现在运行程序(相同的代码)时,我得到警告:

"Qt: Untested Windows version 6.2 detected!" “ Qt:检测到未经测试的Windows 6.2版!”

Ok, so that could be the source of my problem, but also i get errors: 好的,所以这可能是我的问题的根源,但是我也得到了错误:

  • some times the program just quits after the warning above (i think only eclipse) 有时程序只是在上述警告后退出(我认为只是日食)
  • sometimes i get an APPCRASH (i think only eclipse) 有时我会得到一个APPCRASH(我认为只有日食)
  • sometimes i get the exception: TypeError: Error when calling the metaclass bases: mro() returned base with unsuitable layout ('') 有时我会遇到异常:TypeError:调用元类基础时出错:mro()返回了布局不适当的基础('')
  • sometimes i get the exception: TypeError: Error when calling the metaclass bases: multiple bases have instance lay-out conflict 有时我会遇到异常:TypeError:调用元类基时出错:多个基具有实例布局冲突

Especially the last two don't seem like a windows problem, but i don't see any other difference with my PC win7 install. 特别是最后两个似乎不是Windows问题,但是我的PC win7安装没有其他区别。 Does anyone have any idea what is going on or how to fix this? 有谁知道发生了什么或如何解决此问题? Did i miss a step in the installation or is it some incompatibility maybe? 我是否错过了安装步骤,或者可能是某些不兼容?

Cheers, Lars 干杯,拉尔斯

Does anyone have some input on this? 有人对此有意见吗?

I had the same problem with Pyside 1.1.2 and Qt 4.8.4. 我对Pyside 1.1.2和Qt 4.8.4有同样的问题。 The solution for me was to set the compatibility mode of the Python executable to Windows 7 via right click on the executable -> Properties -> Compatiblity -> Run this program in compatibility mode for: Windows 7 对我来说,解决方案是通过右键单击可执行文件->属性->兼容性->在兼容模式下为以下Windows 7运行此程序,将Python可执行文件的兼容模式设置为Windows 7:

Hope that helps. 希望能有所帮助。

尝试使用Hyper-V,但是Windows 8默认未安装Hyper-V。您需要转到“打开或关闭Windows功能”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM