Jupyter notebook 檔案路徑

2021-09-07 22:41:54 字數 493 閱讀 8039

jupyter notebook 檔案路徑

1. 預設工作路徑:c:\users\think

2. 修改工作路徑:

c:\users\think\.jupyter路徑下,無配置檔案

開啟命令提示符:(

cmd,或者

anaconda prompt

,或者進入

d:\programdata\anaconda3\scripts

)命令:

jupyter notebook --generate-config

,生成乙個名為

jupyter_notebook_config.py

的檔案:

"c:\users\think\.jupyter\jupyter_notebook_config.py"

開啟該檔案

## the directory to use for notebooks and kernels.

反注釋,並修改內容

遠端訪問jupyter notebook

ipython notebook是乙個基於瀏覽器的python資料分析工具,使用起來非常方便,具有極強的互動方式和富文字的展示效果。jupyter是它的公升級版,但是它預設只能在本地訪問,如果想把它安裝在伺服器上,然後在本地遠端訪問,則需要進行如下配置 1.登陸遠端伺服器 2.生成配置檔案 jupy...

Jupyter Notebook啟用conda環境

windows環境配置如下 1.開啟預設conda環境 root c users username 2.選擇要在jupyter notebook中啟用的env,並啟用 root style transfer d programdata miniconda3 envs style transfer r...

遠端訪問jupyter notebook

步驟如下 1.登入遠端伺服器 2.生成jupyter配置檔案 jupyter notebook generate config 3.手動生成密碼 開啟ipython,建立密碼的密文 in 1 from notebook.auth import passwd in 2 passwd enter pas...