![FileNotFoundError:[WinError 2] 系统找不到指定的文件:‘-f’](https://linux22.com/image/1589372/FileNotFoundError%EF%BC%9A%5BWinError%202%5D%20%E7%B3%BB%E7%BB%9F%E6%89%BE%E4%B8%8D%E5%88%B0%E6%8C%87%E5%AE%9A%E7%9A%84%E6%96%87%E4%BB%B6%EF%BC%9A%E2%80%98-f%E2%80%99.png)
运行 Jupyter notebook 时出现以下错误:FileNotFoundError: [WinError 2] 系统找不到指定的文件:'-f' 更改 kernel.json 和设置 python.exe 路径不起作用:
{
"display_name": "Python 2",
"language": "python",
"argv": [
"C:\\Users\\XYZ\\Anaconda2\\python.exe",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
]
}
非常感谢您的建议!