0

I've been switching a project from python2.7 to python3. All was good in pyhton2.7. I am using PySide and I have installed it on Ubuntu. The package exists and all the .so files are there but I get this error in python3

>>> import PySide
>>> from PySide import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python3.2/dist-packages/PySide/QtCore.so: undefined symbol: _ZN8Shiboken6Object4hashEP7_object
>>>

Any ideas how to resolve it?

2
  • Try installing python-qt4 and python-qt4-devel and see if it works. Jul 6, 2013 at 17:31
  • I've already installed them. Jul 6, 2013 at 17:36

1 Answer 1

0

I was using pip to install PySide but using

sudo apt-get install python3-pyside

did the trick

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.