前提・実現したいこと
環境:windows10
Anaconda NavigatorからjupyterLabを起動すると、launch errorになり以下のようなエラーメッセージがAnaconda Navigatorから表示されます。
また、起動したjupyterLabではあらゆるコードがNo karnel!と表示され実行されなくなってしまいました。
エラーメッセージ
[I 19:57:53.643 LabApp] The port 8888 is already in use, trying another port. [I 19:57:53.644 LabApp] The port 8889 is already in use, trying another port. [I 19:57:53.646 LabApp] The port 8890 is already in use, trying another port. [I 19:57:53.647 LabApp] The port 8891 is already in use, trying another port. [I 19:57:53.648 LabApp] The port 8892 is already in use, trying another port. [I 19:57:53.681 LabApp] JupyterLab extension loaded from C:\Users\c011924944\Anaconda3\lib\site-packages\jupyterlab [I 19:57:53.682 LabApp] JupyterLab application directory is C:\Users\c011924944\Anaconda3\share\jupyter\lab [W 19:57:53.715 LabApp] JupyterLab server extension not enabled, manually loading... [I 19:57:53.720 LabApp] JupyterLab extension loaded from C:\Users\c011924944\Anaconda3\lib\site-packages\jupyterlab [I 19:57:53.720 LabApp] JupyterLab application directory is C:\Users\c011924944\Anaconda3\share\jupyter\lab [I 19:57:53.721 LabApp] Serving notebooks from local directory: C:\Users\c011924944 [I 19:57:53.721 LabApp] The Jupyter Notebook is running at: [I 19:57:53.721 LabApp] http://localhost:8881/?token=7406f72bc27bd9cdb61c07a6eb50495b5798594f088b30e6 [I 19:57:53.721 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 19:57:53.822 LabApp] To access the notebook, open this file in a browser: file:///C:/Users/c011924944/AppData/Roaming/jupyter/runtime/nbserver-15728-open.html Or copy and paste one of these URLs: http://localhost:8881/?token=7406f72bc27bd9cdb61c07a6eb50495b5798594f088b30e6 [W 19:57:58.598 LabApp] Could not determine jupyterlab build status without nodejs [I 19:58:02.446 LabApp] Kernel started: 4af9fc7e-78ee-4e38-8755-344f191de3b4 [I 19:58:02.486 LabApp] Kernel started: da384ece-76ca-4b91-8183-f811169b0352 Traceback (most recent call last): File "C:\Users\c011924944\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Users\c011924944\Anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\c011924944\Anaconda3\lib\site-packages\ipykernel_launcher.py", line 1, in -f NameError: name 'f' is not defined
補足
動かなくなる前はコマンドライン引数の勉強をしていました。
あなたの回答
tips
プレビュー