Erba Aitbayev 'KZ' Erba Aitbayev 'KZ' - 1 year ago 195
Python Question

Kernel error with Anaconda (Python 2.7) for Windows 10. Spyder IDE console error

I installed free Python distribution Anaconda from here:

My OS: Windows 10 64-bit.
I downloaded Anaconda for Windows 64-bit with Python 2.7.

When I start Spyder IDE in IPython console window I see some error with the header:

An error ocurred while starting the kernel

It looks like this:
enter image description here

In the end of the error log shown above I see the following lines:

[IPKernelApp] CRITICAL | Bad config encountered during initialization:
[IPKernelApp] CRITICAL | Could not decode 'C:\\Users\\\xc0\xe4\xec\xe8\xed\xe8\xf1\xf2\xf0\xe0\xf2\xee\xf0\\AppData\\Roaming\\jupyter\\runtime' for unicode trait 'connection_dir' of an IPKernelApp instance.

In Console window and Kernel tab I can see the same error message:
enter image description here

It is the 2-nd time I am installing this distribution. In the 1-st time I had installed Anaconda on Windows 8 and it worked just fine without any problems. I just installed it and could use it instantly. For now, I am trying to use it on Windows 10 and such errors occured. How to resolve the issue?

Answer Source

It seems that Anaconda doesn't properly install when the installation folder contains unicode characters, which is your case:


So one solution to solve your issue would be to install Anaconda in a folder where the path contains only ASCII characters:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download