spyder3 crash: "Selected binding "pyqt5" could not be found"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkg-website |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I am under Ubuntu 18.04.1 LTS. A few weeks ago, I installed python3 & spyder3 to learn Python. FYI, I already had Python2.7 installed as dependency of several other packages on my machine.
If I recall correctly, at that time I managed to at least start spyder3. But I dist-upgraded my box a few days ago, and now running Spyder3 gets me the following fatal error (no window appearing):
[09/18/18-15:11:08] gmuller@X751LAB:~$ spyder3
/usr/local/
'using "{}"'.format(
Traceback (most recent call last):
File "/usr/local/
sys.
File "/usr/local/
from spyder.app import mainwindow
File "/usr/local/
requirement
File "/usr/local/
package_name, required_ver = qt_infos[qtpy.API]
KeyError: 'pyqt'
Using apt-get I installed the package named python3-pyqt5, but it did not solve the problem.
Thus I tried with pip, but it got me another error:
[09/18/18-15:11:08] gmuller@X751LAB:~$ spyder3
Traceback (most recent call last):
File "/usr/local/
from PyQt5.QtWebEngi
ImportError: /home/gmuller/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/
sys.
File "/usr/local/
from spyder.app import mainwindow
File "/usr/local/
from qtpy import QtWebEngineWidgets # analysis:ignore
File "/usr/local/
from PyQt5.QtWebKitW
ModuleNotFoundE
I tried to install python3-
I removed all my packages installed through pip(3) and reinstalled them through apt. No more luck...
Then, I found the following thread: https:/
The deprecation of qtwebkit would explain my problems... The spyder3 version I have seems to be expecting an earlier version of Qt5 than the one I have...
As I took all my packages from the official repositories, this means there is a dependency problem in the Ubuntu/Debian packages as qt5 and spyder3 versions are not in sync... If spyder3 has been updated and "knows how to use" the latest Qt5, it would be great to provide this later version as a package in the offical Deb/Ubuntu repositories. If it is not, it would be great to stick to a previous Qt5 version in the packages, or, if several versions can be maintained together, to create a dependency between spyder3 and an earlier version of qt5...
Another 2 cents ideas: why not provide "dummy" packages "python3-xxx" that would simply call 'python3 -m pip install "xxx"' so that the final user is not stuck into a mess of pip vs. apt versions to manage manually?
Thanks
LIAR
description: | updated |
summary: |
- spyder3 "Selected binding "pyqt5" could not be found" + spyder3 crash: "Selected binding "pyqt5" could not be found" |
This is not a website bug. Please file the bugreport with the correct package that you have issues with.
Thanks for understanding,
Rhonda