Regular instructions to update Spyder don’t work in this case because there are some incompatible dependencies between Spyder 5.0.5 and 5.1.5.

conda update anaconda
conda install spyder=5.1.5

It generates the following error: “Solving environment: failed with initial frozen solve. Retrying with flexible solve.”

To work around this problem, you need to close Spyder and run the following commands:

conda remove spyder
conda remove python-language-server
conda update anaconda
conda install spyder=5.1.5

These commands could give errors, but that’s fine. Ignore them.

Discover more from Tips and Hints for Aerospace Engineers

Subscribe now to keep reading and get access to the full archive.

Continue reading