可以這樣操作
方法一:
安裝anaconda后,win+r,輸入cmd;
輸入jupyter notebook后,加一個空格,把目標檔案夾拖動到cmd視窗中,回車即可
jupyter notebook "E:\作業\xxxxxx"
方法二:
安裝anaconda后,win+s,搜索cmd,右鍵后點擊管理員模式運行;
cd /d加上目標檔案夾,回車,這樣就轉到了目標檔案夾下;
輸入jupyter notebook即可打開,
打開程序中遇到的問題:
問題一:'jupyter'不是內部或外部命令,也不是可運行的程式或批處理檔案
解決方案:需要配置環境變數:
1 配置環境變數的方法:https://jingyan.baidu.com/article/47a29f24610740c0142399ea.html
控制面板\用戶帳戶\用戶帳戶,更改我的環境變數,用戶變數-Path-編輯,新增變數
2 需要增加的變數
C:\Users\xxxx\anaconda3
C:\Users\xxxx\anaconda3\Scripts\
C:\Users\xxxx\anaconda3\Library\mingw-w64\bin
C:\Users\xxxx\anaconda3\Library\usr\bin
C:\Users\xxxx\anaconda3\Library\bin
問題二:打開后,新建python,顯示“當創建新的notebook的時候出現一個錯誤”
解決方案:大概率沒有硬碟讀寫權限,上個權限說不定就好了
1如方法二中搜索cmd后,右鍵點擊管理員模式運行;
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/211227.html
標籤:其他
