每次当我想要启动ipython笔记本时,我必须在Windows命令行cmd
或powershell
中键入“jupyter notebook”。是否可以设置别名?我试着做这powershell
:如何在PowerShell中为“jupyter notebook”设置别名?
New-Alias nb "jupyter notebook"
nb
失败,因为powershell
无法识别jupyter notebook
为cmdlet或功能。
那么如何设置别名并将其保存在powershell
?有没有更好的主意在Windows上启动ipython notebook
?
可能它不喜欢它,因为它包含一个参数,而不仅仅是可执行文件的名称?改用'jupyter-notebook'来代替。 –