Answer the question
In order to leave comments, you need to log in
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.
Answer the question
In order to leave comments, you need to log in
Andrey Shirshov 's
answer helped me , however, I still had to dig deeper, fully described it here:
https://ru.stackoverflow.com/a/703638/176116
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 questionAsk a Question
731 491 924 answers to any question