spyder 3.1.4 fails to load due to missing PyQt5.QtWebKitWidgets
See original GitHub issueI have just updated through conda to the latest spyder 3.1.4, and received the latest failure:
(uvcdat280nox) duro@ocean:[160202_PaperPlots_SaltyVariability]:[5365]> Traceback (most recent call last):
  File "/export/duro/anaconda2/envs/uvcdat280nox/bin/spyder", line 6, in <module>
    sys.exit(spyder.app.start.main())
  File "/export/duro/anaconda2/envs/uvcdat280nox/lib/python2.7/site-packages/spyder/app/start.py", line 103, in main
    from spyder.app import mainwindow
  File "/export/duro/anaconda2/envs/uvcdat280nox/lib/python2.7/site-packages/spyder/app/mainwindow.py", line 92, in <module>
    from qtpy import QtWebEngineWidgets  # analysis:ignore
  File "/export/duro/anaconda2/envs/uvcdat280nox/lib/python2.7/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in <module>
    from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ImportError: No module named QtWebKitWidgets
It seems that PyQt5 is installed:
(uvcdat280nox) duro@ocean:[160202_PaperPlots_SaltyVariability]:[5365]> ipython
Python 2.7.13 | packaged by conda-forge | (default, Mar 20 2017, 14:04:17)           
Type "copyright", "credits" or "license" for more information.                       
IPython 5.3.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.                                
help      -> Python's own help system.                       
object?   -> Details about 'object', use 'object??' for extra details.
In [1]: import PyQt5
In [2]: dir(PyQt5)
Out[2]: ['__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__']
Is there a badly defined dependency in the conda release, or a deprecation that has crept in? The # analysis:ignore comment above triggered this question
Issue Analytics
- State:
 - Created 6 years ago
 - Comments:25 (11 by maintainers)
 
Top Results From Across the Web
Can't start spyder because of PyQt5.QtWebKitWidgets
PyQt5 is installed with version 5.12. No clue why it doesn't work... EDIT: The full error message: Error msg. It sugggest that the...
Read more >spyder-ide/public - Gitter
Any higher version resulted in the same error: ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets' (raised in qtpy\QtWebEngineWidgets, Line 26).
Read more >Why is PyQt5 causing issues with Spyder? : r/Python - Reddit
In my experience, sometimes you just have a bad install of Qt or a partial install. Uninstall and reinstalling fixes it.
Read more >Can't Start Spyder Because Of Pyqt5.Qtwebkitwidgets - ADocLib
Any higher version resulted in the same error: ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets' raised in qtpy\QtWebEngineWidgets Line 26. Download ...
Read more >Errors in Anaconda after pip install pyqt5 (or conda update ...
I was trying to install pyqt5 using the command pip install pyqt5. it gave me an error saying something along the lines of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Conda forge packages are still a bit experimental. However, they should have support now for WebKitWidgets (as https://github.com/conda-forge/pyqt-feedstock/pull/23 proves). So a simple
should fix this problem.
I found anaconda or whatever python packages are badly maintained …