A
A
Andrey Shirshov2016-02-28 19:50:43
Python
Andrey Shirshov, 2016-02-28 19:50:43

How to fix bad config encountered during initialization in jupyter?

Installed in Windows 8.1 Anaconda for 64 bit OS. Python 2.7 is used
After installation, I noticed that a shortcut for Jupyter Notebook was not created in the start menu. Okay - I go to the folder with the code, I run it in the console:
jupyter notebook
And I get an error:

[C 18:45:58.227 NotebookApp] Bad config encountered during initialization:
[C 18:45:58.227 NotebookApp] Could not decode 'C:\\Users\\xc0\xe4\xf0\xe5\xe9\\.jupyter' for unicode trait 'config_dir' of a NotebookApp instance.

How would you fix it? I tried to use pdb - I don't know how to get into the exe...
UPD: I saw this solution on stackoverflow, but for some reason it didn't help me. Maybe I didn't fix it? How to check it?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Andrey Shirshov, 2016-02-29
@sindzicat

I found the solution myself. All correspondence is here .

R
razon, 2017-08-08
@razon

Andrey Shirshov 's answer helped me , however, I still had to dig deeper, fully described it here:
https://ru.stackoverflow.com/a/703638/176116

A
Artyom Kruk, 2016-02-28
@SHooZ

Username in Cyrillic?

G
gimntut, 2016-02-28
@gimntut

Try this:
subst Z: "%USERPROFILE%"&set USERPROFILE=Z:&jupyter notebook
Maybe use HOMEPATH instead of USERPROFILE.
Within the console, it will be assumed that your home directory is not "C:\\Users\\xc0\xe4\xf0\xe5\xe9\\", but "Z:\" , i.e. does not contain Cyrillic.
You can also try this:
chcp 65001&jupyter notebook
This will switch the console to unicode mode.
I have not tested any of these methods. Maybe both of them are not working.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question