昨天我在启动Jupyter Notebook时遇到了问题(突然收到通知说Python不能正常工作,但之前一切都运行良好...)。因此,我决定升级到最新的Python版本。现在我可以启动Jupyter Notebook,但是出现了以下错误信息:
终端不可用(错误是没有找到“winpty.cywinpty”模块)
我按照这里所描述的步骤进行了操作,但仍然出现这个错误信息。是否有方法解决这个问题?或者有人有建议吗?
编辑:当我从命令提示符中运行jupyter notebook时,得到以下输出结果:
终端不可用(错误是没有找到“winpty.cywinpty”模块)
我按照这里所描述的步骤进行了操作,但仍然出现这个错误信息。是否有方法解决这个问题?或者有人有建议吗?
编辑:当我从命令提示符中运行jupyter notebook时,得到以下输出结果:
[W 14:17:04.451 NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty')
[I 14:17:05.073 NotebookApp] JupyterLab extension loaded from C:\Users\Fati\AppData\Local\Programs\Python\Python39\lib\site-packages\jupyterlab
[I 14:17:05.073 NotebookApp] JupyterLab application directory is C:\Users\Fati\AppData\Local\Programs\Python\Python39\share\jupyter\lab
[I 14:17:05.323 NotebookApp] Serving notebooks from local directory: C:\Users\Fati
[I 14:17:05.324 NotebookApp] Jupyter Notebook 6.1.5 is running at:
[I 14:17:05.326 NotebookApp] http://localhost:8888/?token=8e859b3108946a8310e1e5ceed6d2186c8731261fc5161eb
[I 14:17:05.330 NotebookApp] or http://127.0.0.1:8888/?token=8e859b3108946a8310e1e5ceed6d2186c8731261fc5161eb
[I 14:17:05.331 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 14:17:05.448 NotebookApp]
UPDATE: Not quite resolved in 3.7 - but it worked fine in 3.6, I've rolled back.
所以尝试使用 Python 3.6? - oakca