我嘗試在不使用 anaconda 的情況下安裝 jupyter 筆記本,但遇到了一些問題,特別是不斷出現(xiàn)的紅色“內(nèi)核錯誤”。然而,通過這個問題,我在某種程度上能夠識別出文件中的默認(rèn) pythonpathkernel.json是C:\Users\Ashish\AppData\Roaming\jupyter\kernels\python3針對 anaconda 的問題,因此我使用 .add 添加了我的 python 路徑where python。在jupyter notebookcmd 上運(yùn)行并打開 .ipynb 文件會導(dǎo)致彈出窗口顯示 : Could not find a kernel matching Python 3. Please select a kernel,其中顯示一個空的下拉列表。我更新的 kernel.json 文件:{ "argv": [ "C:\Users\Ashish\AppData\Local\Programs\Python\Python38\python.exe", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "display_name": "Python 3", "language": "python"}
Jupyter Notebook:找不到與 python 3 匹配的內(nèi)核
慕桂英3389331
2023-12-26 17:01:25