These are chat archives for spyder-ide/public
conda install qt=5.6 pyqt=5.6 sip=4.18from the Anaconda prompt. Also, next time you have an issue, you can search it on our Issues page to find an answer quicker, since a number of other users have reported the same problem.
conda install pyqt=5.6or
pip install pyqt==5.6.*.
spyder --helplists the
memory usage is decent, contrary to what you get with pycharm or vscode
So wait, were you able to get it running then to test this? Or...?
tried installing in a venv and it failed too, with all the solutions you proposed
You could installing it with Anaconda or Miniconda, as that is our primary cross-platform recommended install method and avoids a lot of platform specific issues of your distribution, which we have little control over. The ultimate issue here is with the buggy Nvidia drivers that cause the issue in Qt, the GUI framework upon which Spyder is built.
Are you suggesting that their completion/introspection/analysis architecture is superior?
Well, they use the common Language Server Protocol specification, which to my understanding is more reliable than our homegrown architecture. We've already implemented in Spyder 4, and it will e released with Spyder 4 beta 2. However, the functionality is pretty similar, though we've some further enhancements planned for Spyder 4 and beyond.
spyder --help lists the opengl option.
but yes, it was running on this one too before I destroyed it somehow when trying to install the git version
You mean the
-git arch package, or actually installing it from a
git clone? If the former, we have no control over any install issues with those distribution-specific packages; you'll need to contact the maintainer (willem w for the AUR/git package, Fabio Castelli for the mainline, if I remember correctly. As you've stated, this is an install issue, possibly some conflict between your distribution packages and however else you installed it, and ultimately derives from a problem way lower down in the stack than Spyder (your graphics drivers). You could try running from a Github clone to get the latest fixes and see if that resolves it, but like any method that needs an environment with the appropriate dependencies.
I don't want to go to conda, with wheels there's no reason if you are on a modern linux
That's perfectly fine if you want, we of course offer and fully maintain them and a number of our developers do exactly that. Of course, it is up to you to solve any machine-/environment-/install-specific issues that may arise that we have no control over (the ones we do, we'll fix of course). However, I'm uncertain if
wheel worked well for you why you switched to your distribution version, if I'm understanding correctly? It seems that was when the problems started.
is there an older version that works?
As the problem is apparently with your graphics drivers/Qt, I don't think so; all Spyder can do is work around it. Again, you can try running from a Github clone (see our install guide) to get the latest fixes that could help, or try downgrading to PyQt 5.6 which will downgrade to Qt 5.6, which is the ultimate cause of the problem since PyQt/Qt 5.9 has a number of bugs particularly with WebEngine and hardware rendering which appears to be what your issue is.