-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in macOS Mojave v 10.14.4 I launch spyder from terminal #9132
Comments
Did you use pip to install/update Spyder? |
I try in different way in accord with all the posts and all your suggestions for these problems with spyder. But I haven't had the spyder working in anaconda3 for 4 days. Can you help me? |
Please remove and reinstall Anaconda again. Most probably one of the commands you used corrupted your installation and that's why you're getting that error. |
@ccordoba12 Please forgive me, but what exactly do you refer to when you said "corruption?" Things I'm aware of: -QTWebEngine is no longer a part of PyQt5, and is now its own package So, is what's corrupted probably in site-packages or the spyder library? EDIT 1/2: if I had to make a guess, maybe this problem has to do with referencing PyQt5.QtWebEngineWidgets as opposed to simply QtWebEngineWidgets? Edit 2/2: Here's the kind of information I gathered from my home installation: #8868 (comment) |
Exactly to this statement: the conda and pip packages for PyQt5 are incompatible (so you can't mix them), and this problem only happens with the pip packages. According to the initial traceback, @fraPython is using Anaconda and not pip.
No, that's not true. Things are working perfectly fine with pip (because we run all our tests by installing everything with it), as long as you use it properly. |
I reinstall anaconda but the problem with spyder persists. |
Please post your problem in our Gitter channel: https://gitter.im/spyder-ide/public You'll receive help there. |
$ spyder
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/qtpy/QtWebEngineWidgets.py", line 22, 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 "/anaconda3/bin/spyder", line 11, in
sys.exit(main())
File "/anaconda3/lib/python3.7/site-packages/spyder/app/start.py", line 186, in main
from spyder.app import mainwindow
File "/anaconda3/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 90, in
from qtpy import QtWebEngineWidgets # analysis:ignore
File "/anaconda3/lib/python3.7/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
The text was updated successfully, but these errors were encountered: