简体   繁体   中英

windows 8 incompatibility?

I cannot get my code to run on my win8 laptop. I am working with a combination of:

  • Stackless Python 2.7.2
  • Qt 4.8.4
  • PySide 1.1.2
  • Eclipse/Pydev and 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.

When i run my program (same code) now, i get a warning:

"Qt: Untested Windows version 6.2 detected!"

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)
  • sometimes i get the exception: TypeError: Error when calling the metaclass bases: mro() returned base with unsuitable layout ('')
  • sometimes i get the exception: TypeError: Error when calling the metaclass bases: multiple bases have instance lay-out conflict

Especially the last two don't seem like a windows problem, but i don't see any other difference with my PC win7 install. 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. 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

Hope that helps.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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