I successfully installed Anaconda3 on my Windows 10 laptop but when I try to launch Navigator (or any other Anaconda app) it doesn't start. When typing anaconda-navigator on Anaconda Prompt this is the error I get
Traceback (most recent call last):
File "C:\Users\myuser\anaconda3\lib\site-packages\qtpy\__init__.py", line 204, in <module>
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\myuser\anaconda3\Scripts\anaconda-navigator-script.py", line 6, in <module>
from anaconda_navigator.app.main import main
File "C:\Users\myuser\anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 22, in <module>
from anaconda_navigator.utils.conda import is_conda_available
File "C:\Users\myuser\anaconda3\lib\site-packages\anaconda_navigator\utils\__init__.py", line 15, in <module>
from qtpy.QtGui import QIcon
File "C:\Users\myuser\anaconda3\lib\site-packages\qtpy\__init__.py", line 210, in <module>
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found
I tried to uninstall and reinstall it several times but nothing changed. I already tried conda update conda and conda update navigator but the problem still persists. I also tried to install Anaconda2 and it worked perfectly fine, so how can I make Anaconda3 work?
Related
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'
On anaconda prompt, do the following
conda uninstall -c anaconda spyder
conda install -c anaconda spyder
try it, this worked for me
Had the same issue on my Mac M1. Ultimately it worked as per Daniel Althviz comment. Go to Anaconda -> Environments -> 'Not installed', search for pyqtwebengine select it and click apply in the right bottom corner.
For some reason Spyder is not launching when I try to start the application. I tried to then run it through the console, but run into this error:
(base) C:\>spyder
Traceback (most recent call last):
File "C:\Python\Anaconda3\lib\site-packages\qtpy\__init__.py", line 210, in <module>
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python\Anaconda3\Scripts\spyder-script.py", line 10, in <module>
sys.exit(main())
File "C:\Python\Anaconda3\lib\site-packages\spyder\app\start.py", line 233, in main
from spyder.app import mainwindow
File "C:\Python\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 42, in <module>
requirements.check_qt()
File "C:\Python\Anaconda3\lib\site-packages\spyder\requirements.py", line 44, in check_qt
import qtpy
File "C:\Python\Anaconda3\lib\site-packages\qtpy\__init__.py", line 216, in <module>
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found
I've tried running
pip3 install pyqt5
but I get the same error after this installation is completed when I try to launch Spyder through the console. Any advice on this issue?
Can also mention that I tried to download PySide, but couldn't complete the installation as some other errors appeared.
I'm having trouble with Anaconda Navigator. The program isn't lauching anymore, I think it happened after I shutdown my Windows 11 and forced the program to close. When I try to launch it in the Anaconda Prompt, I have the following lines of errors:
(base) C:\Users\user>anaconda-navigator
Traceback (most recent call last):
File "C:\Users\user\anaconda3\lib\site-packages\qtpy\__init__.py", line 209, in <module>
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\user\anaconda3\Scripts\anaconda-navigator-script.py", line 10, in <module>
sys.exit(main())
File "C:\Users\user\anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 119, in main
from anaconda_navigator.app.start import start_app
File "C:\Users\user\anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 19, in <module>
from qtpy import PYQT5
File "C:\Users\user\anaconda3\lib\site-packages\qtpy\__init__.py", line 215, in <module>
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found
I've tried solutions in Stackoverflow and already reinstalled the program, but nothing worked yet. If anyone can help, I will appreciate very much!
EDIT: The program returned to normal alone, don't know what happened.
Spyder crashes in Manjaro KDE with the following error:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/qtpy/__init__.py", line 204, in <module>
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/spyder3", line 3, in <module>
start.main()
File "/usr/lib/python3.8/site-packages/spyder/app/start.py", line 200, in main
from spyder.app import mainwindow
File "/usr/lib/python3.8/site-packages/spyder/app/mainwindow.py", line 54, in <module>
requirements.check_qt()
File "/usr/lib/python3.8/site-packages/spyder/requirements.py", line 41, in check_qt
import qtpy
File "/usr/lib/python3.8/site-packages/qtpy/__init__.py", line 210, in <module>
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found
PyQt5 and PySide are already installed and I still get the error. I already tried installing other spyder versions in pamac and pip but got the same error.
Thank you in advance for the help.
Looks like the python that is being used isn't the one from anaconda:
File "/usr/lib/python3.8/site-packages/qtpy/__init__.py"
Try doing the following:
Inside your terminal write:
// this will deactivate the base environment
// you will need to: "conda reactivate" later to use spyder again
conda deactivate
then do:
pip install PyQt5 PySide
then:
conda activate
spyder
I just installed Anaconda3-2020.02 on my Windows 10 computer but the Anaconda navigator GUI is not running when I launched it the same problem with Spyder. The following error was reported in the command line:
Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\site-packages\qtpy__init__.py", line 204, in from PySide import version as PYSIDE_VERSION # analysis:ignore ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\ProgramData\Anaconda3\Scripts\anaconda-navigator-script.py", line 6, in from anaconda_navigator.app.main import main File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 22, in from anaconda_navigator.utils.conda import is_conda_available File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\utils__init__.py", line 15, in from qtpy.QtGui import QIcon File "C:\ProgramData\Anaconda3\lib\site-packages\qtpy__init__.py", line 210, in raise PythonQtError('No Qt bindings could be found') qtpy.PythonQtError: No Qt bindings could be found
Any ideas as to what the problem might be and how to solve it will be appreciated.