[pypy-dev] PySide with PyPy
Johan Råde
johan.rade at gmail.com
Sun Feb 23 09:46:36 CET 2014
Hi Armin,
Observed behavior on Windows:
>>>> import PySide
>>>> import PySide.QtCore
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named PySide.QtCore
>>>> from PySide import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'QtCore'
>>>>
Expected behavior: The module PySide.QtCore should be imported successfully.
-----------------------------------------
If you are able to import PySide.QtCore and PySide.QtGui,
then the next step would be to try a simple hello world program:
import sys
from PySide.QtGui import *
app = QApplication(sys.argv)
label = QLabel("Hello World!")
label.show()
app.exec_()
This should display a small window with the text "Hello World!"
--Johan
More information about the pypy-dev
mailing list