当我的浏览器出现“500:内部服务器错误”时,我试图在 Jupyter Notebook 中打开一个 .ipynb 文件。
终端中的错误消息:
[C 23:01:41.750 NotebookApp]
To access the notebook, open this file in a browser:
file:///C:/Users/Valeera/AppData/Roaming/jupyter/runtime/nbserver-6072-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=c33d644eeb15c66ec4f8764c7e83023f729f162bbc122f38
[E 23:01:44.821 NotebookApp] Uncaught exception GET /notebooks/1700012779.ipynb (::1)
HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/notebooks/1700012779.ipynb', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "C:\Users\Valeera\Anaconda3\lib\site-packages\tornado\web.py", line 1697, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "C:\Users\Valeera\Anaconda3\lib\site-packages\tornado\web.py", line 3174, in wrapper
return method(self, *args, **kwargs)
File "C:\Users\Valeera\Anaconda3\lib\site-packages\notebook\notebook\handlers.py", line 59, in get
get_custom_frontend_exporters=get_custom_frontend_exporters
File "C:\Users\Valeera\Anaconda3\lib\site-packages\notebook\base\handlers.py", line 462, …Run Code Online (Sandbox Code Playgroud)