jupyter notebook 踩坑记录()

1.安装软件路径不能是中文

2.用户名不能是中文,否则找不到解释器

#https://blog.csdn.net/weixin_51684729/article/details/124056544
"""
1.Win+R打开运行窗口,输入regedit,打开注册表
2.路径\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-796251143-1528097559-310624767-500找到该文件)
3.在S-1-5这些文件中寻找名称为ProfileImagePath,值为C:\Users\你自己的用户名
4.双击ProfileImagePath,将原本用户名改为要修改的用户名(如C:\Users\xleixz)。
"""

3.打开不能跳转浏览器

#https://www.iotword.com/4443.html

import webbrowser
webbrowser.register("chrome",None,webbrowser.GenericBrowser(r"C:\\Users\\毛仔仔\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe"))
c.NotebookApp.browser = "chrome"
————————

1.安装软件路径不能是中文

2.用户名不能是中文,否则找不到解释器

#https://blog.csdn.net/weixin_51684729/article/details/124056544
"""
1.Win+R打开运行窗口,输入regedit,打开注册表
2.路径\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-796251143-1528097559-310624767-500找到该文件)
3.在S-1-5这些文件中寻找名称为ProfileImagePath,值为C:\Users\你自己的用户名
4.双击ProfileImagePath,将原本用户名改为要修改的用户名(如C:\Users\xleixz)。
"""

3.打开不能跳转浏览器

#https://www.iotword.com/4443.html

import webbrowser
webbrowser.register("chrome",None,webbrowser.GenericBrowser(r"C:\\Users\\毛仔仔\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe"))
c.NotebookApp.browser = "chrome"