[PySide] Installing on Ubuntu with python3

Otto Chiu ochiu at teslamotors.com
Thu Nov 7 22:45:56 CET 2013

I have Ubuntu 12.04. Even after running the post install script I am getting ImportError: dynamic module does not define init function (PyInit_QtCore). I was able to import PySide just fine though.


From: Roman Lacko [mailto:backup.rlacko at gmail.com]
Sent: Thursday, November 07, 2013 12:13 AM
To: Otto Chiu
Cc: PySide at qt-project.org
Subject: Re: [PySide] Installing on Ubuntu with python3

2013/11/7 Otto Chiu <ochiu at teslamotors.com<mailto:ochiu at teslamotors.com>>
Hi All,
I want to see if anybody has anybody has any tips or hints on installing pyside on Ubuntu with python3 in a virtualenv.

I tried following the instructions here: https://pypi.python.org/pypi/PySide#installing-pyside-on-a-unix-system, but I keep getting syntax errors when I go install the egg.

You can ignore the syntax errors when installing the egg, just don't forget to run the post install script:

$ python2.7 pyside_postinstall.py -install
BTW, what version of Ubuntu you have ?

I also tried http://qt-project.org/wiki/PySide_Binaries_Linux with the python3-pyside option but python can't find the PySide package.

Any help is much appreciated.


PySide mailing list
PySide at qt-project.org<mailto:PySide at qt-project.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20131107/6ac5473b/attachment.html>

More information about the PySide mailing list