Mailinglist Archive: opensuse-bugs (4251 mails)

< Previous Next >
[Bug 1038377] New: python3-qt* tries to import non-existent __version__ property from PySide
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 10 May 2017 05:58:53 +0000
  • Message-id: <>

Bug ID: 1038377
Summary: python3-qt* tries to import non-existent __version__
property from PySide
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: x86-64
OS: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Other
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: anpaby5@xxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

Applications relying on Python3 Qt bindings will fail. The qtpy module tries to
import the __version__ object from the PySide module, while this module has no
such property. The __version__ property existed in the Python2 version of
PySide, but was deprecated in its Python3 version.

The affected packages are:
python3-qt4 and/or python3-qt5
spyder3 and any programs requiring the Python3 Qt bindings

Python3 traceback:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/qtpy/", line 119, in
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
ImportError: cannot import name '__version__'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/spyder3", line 3, in <module>
File "/usr/lib/python3.6/site-packages/spyder/app/", line 103, in
from import mainwindow
File "/usr/lib/python3.6/site-packages/spyder/app/", line 49, in
File "/usr/lib/python3.6/site-packages/spyder/", line 39, in
import qtpy
File "/usr/lib/python3.6/site-packages/qtpy/", line 125, in
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found

You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
Follow Ups