What I tried when Spyder stopped running | そう備忘録

What I tried when Spyder stopped running


Spyder is Pyhton’s integrated development environment.

There are many development environments for Python, but I have been using it conveniently since it came with Anaconda when I installed it on Windows 10.

The other day, Spyder stopped running for some reason.

When I tried to start it, the splash window appeared, but the Spyder integrated development environment window did not appear.

Splash window when the Spyder is started.

The above splash window appears, but beyond that, the integrated development environment does not appear at all.

I tried restarting Windows again, but the situation remained the same.


The environment in which this occurred is as follows.


Windows 10 Home(64 Bit)


conda 4.10.3




Ver 5.0.5

How to respond

Delete the spyder.lock folder.

The first thing I tried was to delete the spyder.lock folder.

This folder is automatically created when the Spyder starts up (it used to be a file in previous versions) and is used for exclusivity control.

If this folder is corrupted for some reason, it will be misinterpreted as another Spyder running and prevent it from starting.

The location of the folder varies depending on the environment, but in my case it was in the following location.

If the folder does not exist at the time of starting, it will be created even if the folder is deleted.

C:Users\User Name\.spyder-py3\spyder.lock

However, the result remained the same and the Spyder did not start.

reset Command

The next thing I tried was the reset command.

As a result, after resetting all the settings with this command, it started up normally.

From the anaconda prompt,

spyder --reset

However, this command resets the entire environment, so all open Python scripts, themes and other appearance settings, language settings, etc. are reset.

It was better than not being able to use it at all, so I reset all the settings and it started up normally.

After that, I changed the language setting to Japanese, but the location of the Japanese setting in Spyder 5.0.5 is different from the previous version, so I am writing this article for the record.

Language settings

From the Spyder menu, Tools Preferences Application Advanced settings Language:

Language settings

update –all

In addition, if the above does not solve the problem, I was going to update all Anaconda packages, but I did not do it this time.

conda update --all

To update a specific package only, use the following command

conda update Package Name

When I used to update with update -all, I was bewildered by too many changes in the settings, so recently I have been updating in the GUI environment by specifying the package and version from Anaconda Navigator.

Anaconda Navigator

If you use the above method, you can update only the specified package with the specified version.

This concludes this article.


I hope this article will be useful to someone somewhere.

souichirou kikuchi

I'm Japanese. A reminder to remember what I've done. I'm blogging in the hope that it will be helpful to others who want to do similar things. I mainly write blogs about LEGO, AWS (Amazon Web Services), WordPress, Deep Learning and Raspberry Pi. At work, I'm working on installing collaborative robots and IoT in factories. I passed the JDLA (Japan Deep Learning Association) Deep Learning for GENERAL in July 2019. If you have any questions, please leave them in the comments at the bottom of the article.


Name, Email, and Website are optional.
and, your Email address will not be published.