我剛剛安裝了Anaconda,它也安裝了jupyter。我無法在windows 8.1命令上運行jupyter notebook
,因爲它似乎使用jupyter的默認安裝路徑,即使我明確地將Anaconda設置爲以不同的路徑安裝。因重音字符而無法打開jupyter筆記本
jupyter試圖加載的默認路徑是C:\ Users \Vinícius\ .jupyter,我將Anaconda安裝在C:\ Vinicius上。第一個路徑有一個口音,第二個沒有。
當我嘗試運行jupyter notebook
或jupyter notebook --notebook-dir=C:\\Temp\\
或jupyter notebook --generate-config
命令時,它們都失敗了,因爲第一個路徑有重音?我應該怎麼做才能解決這個問題?
爲jupyter notebook
或jupyter notebook --notebook-dir=C:\\Temp\\
的錯誤是:
無法解碼 'C:\用戶\ Vin的\ xedcius.jupyter' 的一個NotebookApp實例的unicode的性狀 'config_dir'。
你使用哪個python? 2.7? 3?好像根據這個[github問題](https://github.com/jupyterhub/jupyterhub/issues/444#issuecomment-190104682)python 2.7有一個非ASCII家的問題。 –
我從Anaconda網站下載了python 2.7。唯一的解決辦法是使用python 3? –
Python 3會解決很多你可能遇到的unicode問題。雖然我會推薦它,但你可以自己做一些修復,我認爲我發送的github鏈接給了一些修復(你將不得不改變[一些文件](https://github.com/jupyterhub/jupyterhub/issues/) 444#issuecomment-190216159))。任何不使用python 3的原因? –