【发布时间】:2016-04-27 01:07:02
【问题描述】:
每次我想启动 ipython notebook 时,我都必须在 Windows 命令行cmd 或powershell 中输入“jupyter notebook”。是否可以设置别名?我尝试在powershell 中执行此操作:
New-Alias nb "jupyter notebook"
nb 失败,因为 powershell 无法将 jupyter notebook 识别为 cmdlet 或函数。
那么如何设置别名并保存在powershell中呢?在 Windows 上启动 ipython notebook 有更好的主意吗?
【问题讨论】:
-
可能它不喜欢它,因为它包含一个参数,而不仅仅是可执行文件名称?请改用
jupyter-notebook。
标签: powershell jupyter-notebook