1. 程式人生 > >第一次使用jupyter建立python時錯誤:Creating Notebook Failed An error occurred while creating a new notebook.

第一次使用jupyter建立python時錯誤:Creating Notebook Failed An error occurred while creating a new notebook.

當我們用命令列在瀏覽器中啟動jupyter notebook後需要點選右上角的New建立新的python檔案,此時會報錯。在Linux下可以用命令列解決這個問題。首先需要找到anaconda2中jupyter檔案,在anaconda2中的share檔案中,對jupyter執行如下命令,來修改jupyter的許可權:

 chmod +777 jupyter

 之後重啟jupyter即可執行,python程式碼