[PySide] ImportError when importing from the PySide Egg
purplish.tentacle at gmail.com
Sat Feb 2 09:21:49 CET 2013
Aaron, yes I had used the --standalone flag with setup.py
Roman, that worked. So I executed:
On Fri, Feb 1, 2013 at 8:32 AM, Roman Lacko <backup.rlacko at gmail.com> wrote:
> you need to install the PySIde egg with easy_install:
> $ easy_install PySide-1.1.3dev-py2.7.egg
> If you don't want to install PySide into system python, you can use
> 2013/2/1 Purple Tentacle <purplish.tentacle at gmail.com>
>> Hello everyone,
>> I followed the instructions <https://github.com/PySide/pyside-setup> for
>> building a standalone PySide egg in Linux. Then I moved the egg to a test
>> directory along with a Python script to test it. I want to be able to
>> access the egg from the current directory, not from the Python dir.
>> The PySide package is found but I get an "ImportError: No module named
>> QtCore" when I try to import QtCore, or a similar message for any other
>> module. PySide.__all__ has ['QtCore', 'QtGui', 'QtNetwork', 'QtOpenGL',
>> 'QtSql', 'QtSvg', 'QtTest', 'QtWebKit', 'QtScript'].
>> The test script:
>> import sys
>> import PySide
>> import PySide.QtCore
>> Am I missing something something? Thanks!!
>> PySide mailing list
>> PySide at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PySide