I've run into numerous problems when attempting to update Spyder from 4.2.5 (which is what installs with the most recent Anaconda install) to 5.1.5 in Anaconda.
The advice provided on Spyder startup during version checking:
conda update conda
conda update anaconda
conda install spyder=5.1.5
does NOT work.
After some searching around, I did find a stack overflow question with an answer from a Spyder Maintainer with the following instructions:
conda remove spyder
conda remove python-language-server
conda update anaconda
conda install spyder=5.1.5
This seems to actually work, but then seemed to remove some common modules/packages as well, like matplotlib. Those are easy enough to reinstall (conda install matplotlib), but after that running matplotlib would cause Spyder to restart the Kernel every time, PLUS no plots were produced.
A different question provided the advice to downgrade the version of freetype from 2.11.0 to 2.10.4, which seemed to resolve that issue (downgrading Matplotlib seemed to be unnecessary). I'm afraid of what other issues I may encounter? I'm attempting to teach Python to 70 or so undergraduate students, and it's very difficult to assist when upgrades break things this bad.
Is there an easier/cleaner way to upgrade Spyder to 5.1.5 on Anaconda that I haven't come across yet?