windows 8 incompatibility?

2.1k Views Asked by At

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?

2

There are 2 best solutions below

3
ronaldooo On

try using Hyper-V however Hyper-V is not installed by default in Windows 8. You need to go "Turn Windows features on or off."

1
Matthias On

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.