These are chat archives for spyder-ide/public

15th
Feb 2019
anikacave
@anikacave
Feb 15 00:42
Hi! I have been trying to open spyder from the anaconda launcher, however after it says it is "launching" it doesn't launch. I have tried resetting spyder, uninstalling it, and uninstalling and reinstalling packages.
CAM Gerlach
@CAM-Gerlach
Feb 15 00:56
@anikacave Anaconda Navigator can sometimes have bugs that prevent it from launching Spyder correctly. If you're on Windows, there is never any reason to use it, as it is much faster as well as more reliable to just launch Spyder directly from its own start menu shortcut. Otherwise, you can launch it from the Terminal/Command line by simply typing spyder (type conda activate base first if it doesn't work the first time).
Jürg Rast
@jrast
Feb 15 07:49
@jrast Thanks so much for your testing. Can you confirm the scrolling problem does not occur with 5.12 with pyqtwebengine installed, and also does not occur with 5.11 and it not installed, to confirm the problem is linked to pyqtwebengine? I've experienced a problem myself with Qt 5.9 that involves Spyder crashing if I scrolled fast and held Ctrl to zoom in and out. It was also very intermittent, in that sometimes it was triggered right away, while sometimes it took a while to occur.
Tested PyQt5==5.12.* with PyQtWebEngine installed again: Scrolling seems to work. However, I was playing around in the same environment as yesterday and updating PyQt5 from 5.10. to 5.12. did not work as expected. After pip install -U "PyQt5>=5.12" I was not able to start spyder (ModuleNotFoundError: No module named PyQt5.QtWebKitWidgets ...). I uninstalled PyQt5, PyQt5-Sip and PyQtWebEngine and installed them again, then spyder was able to start.
So far i have no issues with PyQt5==5.12.*, PyQtWebEngine and Spyder==3.3.3, as long as the Spyder 2 Icons are used.
Jürg Rast
@jrast
Feb 15 07:56
PyQt5==5.11.* does not include the QtWebKitWidgets, so Spyder will not launch. And the PyQtWebEngine package is only available for Qt5.12 (See: https://pypi.org/project/PyQtWebEngine/#history).
Jürg Rast
@jrast
Feb 15 08:05
And, just for the record, this works if Spyder 2 Icons are used: pip install "PyQt5==5.12.*" PyQtWebEngine "Spyder==4.0.0.b1", Spyder startup works, autocompletion works, help viewer works.
CAM Gerlach
@CAM-Gerlach
Feb 15 15:57

updating PyQt5 from 5.10. to 5.12. did not work as expected.

Thanks. This would have to be due to a random issue with pip; nothing we can do about that of course. Its why we recommend conda (or sticking with the tested WinPython versions) for users who aren't as experienced as yourself who can resolve those types of issues on their own.

CAM Gerlach
@CAM-Gerlach
Feb 15 16:15

PyQt5==5.11.* does not include the QtWebKitWidgets, so Spyder will not launch.

Are you sure about this? As far as were aware, the split happened in Qt 5.12, which is why the PyQtWebEngine package is compatible only with it. Perhaps what may have happened is the exact same thing is when you upgraded to 5.10; something went wrong with pip and it didn't install the new version properly so you got the error.