'Anaconda not letting me launch Spyder
Trying to Launch Spyder from Anaconda and keep getting error:
Traceback (most recent call last): File "/Users/gpoole14/opt/anaconda3/envs/ltcwbb/lib/python3.9/site-packages/qtpy/QtWebEngineWidgets.py", line 21, in from PyQt5.QtWebEngineWidgets import QWebEnginePage ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/gpoole14/opt/anaconda3/envs/ltcwbb/bin/spyder", line 11, in sys.exit(main()) File "/Users/gpoole14/opt/anaconda3/envs/ltcwbb/lib/python3.9/site-packages/spyder/app/start.py", line 233, in main from spyder.app import mainwindow File "/Users/gpoole14/opt/anaconda3/envs/ltcwbb/lib/python3.9/site-packages/spyder/app/mainwindow.py", line 59, in from qtpy import QtWebEngineWidgets # analysis:ignore File "/Users/gpoole14/opt/anaconda3/envs/ltcwbb/lib/python3.9/site-packages/qtpy/QtWebEngineWidgets.py", line 27, in from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
Solution 1:[1]
On anaconda prompt, do the following
conda uninstall -c anaconda spyder
conda install -c anaconda spyder
try it, this worked for me
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | vivekv |
