首页 > 其他分享 >jupyter notebook 踩坑记录

jupyter notebook 踩坑记录

时间:2022-11-29 21:01:03浏览次数:38  
标签:用户名 jupyter Users 记录 chrome notebook webbrowser ProfileImagePath https

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"

 

标签:用户名,jupyter,Users,记录,chrome,notebook,webbrowser,ProfileImagePath,https
From: https://www.cnblogs.com/zwx901323/p/16936675.html

相关文章