Created
December 13, 2021 08:24
-
-
Save libChan/2b41de94b270fa980659675f35a60133 to your computer and use it in GitHub Desktop.
Windows Chrome使用WSL jupyter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 生成配置文件 | |
jupyter notebook --generate-config | |
# 编辑配置文件,禁用重定向文件 | |
vim ~/.jupyter/jupyter_notebook_config.py | |
c.NotebookApp.use_redirect_file = False | |
# 在环境变量中配置Windows浏览器地址 | |
export BROWSER='/mnt/c/Program Files/Google/Chrome/Application/chrome.exe' | |
# jupyter-notebook安装在~/.local/bin下,将其添加到环境变量,在指定目录启动 | |
export PATH=$PATH:~/.local/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment