PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 792 - Can't import PySide.
: Can't import PySide.
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: Macintosh Mac OS
: P5 enhancement
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-03-26 10:24 EET by Ernest
Modified: 2011-04-29 18:08 EEST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernest 2011-03-26 10:24:20 EET
I use python 2.7.1, Mac OS X 10.5, Qt 4.7.2.

Traceback (most recent call last):
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide/__init__.py",
line 2, in <module>
    import private
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide/private.py",
line 2, in <module>
    from QtCore import __moduleShutdown
ImportError:
dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide/QtCore.so,
2): no suitable image found.  Did find:
   
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide/QtCore.so:
mach-o, but wrong architecture
Comment 1 Hugo Parente Lima 2011-03-28 21:13:04 EEST
We need more info to solve this issue and find if this is really a bug or just
a missconfigured environment.

What version/revision of PySide are you using?
Did you compiled it yourself or got it somewhere?
Where it was installed? it's really there!?
Comment 2 Hugo Parente Lima 2011-04-05 22:16:35 EEST
ping
Comment 3 Ernest 2011-04-06 05:09:43 EEST
PySide from here http://pyside.markus-ullmann.de/pyside-1.0.0-qt47-py27.pkg.
It is really there. 

List of files
(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide/):

QtCore.so        QtScript.so        QtXml.so
QtDeclarative.so    QtScriptTools.so    QtXmlPatterns.so
QtGui.so        QtSql.so        __init__.py
QtHelp.so        QtSvg.so        __init__.pyc
QtMultimedia.so        QtTest.so        phonon.so
QtNetwork.so        QtUiTools.so        private.py
QtOpenGL.so        QtWebKit.so        private.pyc
Comment 4 Hugo Parente Lima 2011-04-19 20:37:13 EEST
By the error message I guess you are running on a power PC and the packages
were made for x86 or vice versa. I can't help too much, better you find the
PySide MacOSX packager, he can help you.
Comment 5 Hugo Parente Lima 2011-04-27 23:21:46 EEST
Marking as invalid, it's a user environment bug or a bug on Mac packages
provided by the community, not a PySide bug.
Comment 6 renato filho 2011-04-29 18:08:00 EEST
PySide release 1.0.2