molodiuc / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

pyside fails to import propery #268

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have the latest version of pythonxy, as well as Qt 4.7.3 with the binaries 
path in my Windows7 path variable. However:

In [1]: import PySide

In [2]: PySide.QtCore
Out[2]: <module 'PySide.QtCore' from 
'C:\Python26\lib\site-packages\PySide\QtCore.pyd'>

In [3]: PySide.QtGui
------------------------------------------------------------
Traceback (most recent call last):
  File "<ipython console>", line 1, in <module>
AttributeError: 'module' object has no attribute 'QtGui'

In [4]: from PySide import QtGui
------------------------------------------------------------
Traceback (most recent call last):
  File "<ipython console>", line 1, in <module>
ImportError: DLL load failed: The specified procedure could not be found.

It would seem that only QtCore is imported correctly. QtGui however DOES import 
correctly in a simple Windows command prompt. 

I have reinstalled python, python xy, PySide several times (so I may have 
broken installs lying around). But it seems to be related to Pythonxy.

Original issue reported on code.google.com by jdt.br...@gmail.com on 16 Jul 2011 at 12:22

GoogleCodeExporter commented 9 years ago
I have resolved this to be on my computer. Sorry for the unnecessary posts

Original comment by jdt.br...@gmail.com on 17 Jul 2011 at 4:47