我将Jupyter与Anaconda3结合使用。我的Anaconda3\和Anaconda3\Scripts\文件夹已添加到%PATH%变量中。尽管jupyter.exe位于上面的Scripts文件夹中,但如果没有破折号,Jupyter相关命令将无法运行。例如:jupyterkernelspec--versionErrorexecutingJupytercommand'kernelspec':[Errno'jupyter-kernelspec'notfound]2使用破折号的相同命令:jupyter-kernelspec--version5.2.2jupyter-notebook等也是