[Web Browser (Microsoft Edge)]

 

1. Run 'Anaconda Prompt (Anaconda3)'

 

2. jupyter notebook --generate-config

 

3. Edit 'C:\Users\[username]\.jupyter\jupyter_notebook_config.py'

## Specify what command to use to invoke a web browser when opening the notebook.
#  If not specified, the default browser will be determined by the `webbrowser`
#  standard library module, which allows setting of the BROWSER environment
#  variable to override it.
#  Default: ''
c.NotebookApp.browser = '"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" %s' # Microsoft Edge
#c.NotebookApp.browser = '"C:\Program Files\Google\Chrome\Application\chrome.exe" %s' # Chrome

 

 

[Start-up folder]

 

1. Run 'Anaconda Prompt (Anaconda3)'

 

2. jupyter notebook --generate-config

 

3. Edit 'C:\Users\[username]\.jupyter\jupyter_notebook_config.py'

   (use '/' instead of '\')

## The directory to use for notebooks and kernels.
#  Default: ''
c.NotebookApp.notebook_dir = 'C:/Workspace'

 

4. Go to 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anaconda3 (64-bit)'

 

5. 'Jupyter Notebook (Anaconda3)' > (R) > (S) > Remove '%HOMEPATH%'

   'Jupyter Notebook (Anaconda3)' > (R) > (T) > Remove '"%USERPROFILE%/"'

C:\ProgramData\Anaconda3\python.exe C:\ProgramData\Anaconda3\cwp.py C:\ProgramData\Anaconda3 C:\ProgramData\Anaconda3\python.exe C:\ProgramData\Anaconda3\Scripts\jupyter-notebook-script.py "%USERPROFILE%/"

 

['Bad file descripter' error]

 

1. Run 'Anaconda Prompt (Anaconda3)' as admin

pip uninstall pyzmq
pip install pyzmq

 

'Tools' 카테고리의 다른 글

Minecraft + Python  (0) 2024.09.29
Jupyter Notebook: pip, venv, jupyter  (0) 2024.09.29
VS Code  (0) 2021.09.30

+ Recent posts