Mac OS Catalina にて、本日anacondaからpythonをインストールし、Jupiter laboにて
計算等を始めようとしたところ、print('hello')のような簡単な指示も反映されない状態でした。
実行しても、[*]のままとなり、結果が表示されないまま固まってしまいます。
エラーのコードは以下のとおりです。
python
1I 15:54:02.808 LabApp] JupyterLab extension loaded from /Users/sho/opt/anaconda3/lib/python3.8/site-packages/jupyterlab 2[I 15:54:02.808 LabApp] JupyterLab application directory is /Users/sho/opt/anaconda3/share/jupyter/lab 3[I 15:54:02.809 LabApp] Serving notebooks from local directory: /Users/sho 4[I 15:54:02.809 LabApp] The Jupyter Notebook is running at: 5[I 15:54:02.809 LabApp] http://localhost:8888/?token=8839dbe4774a7ea22dfcb7ab91af923115edf948216df32e 6[I 15:54:02.809 LabApp] or http://127.0.0.1:8888/?token=8839dbe4774a7ea22dfcb7ab91af923115edf948216df32e 7[I 15:54:02.809 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). 8[C 15:54:02.812 LabApp] 9 10 To access the notebook, open this file in a browser: 11 file:///Users/sho/Library/Jupyter/runtime/nbserver-1473-open.html 12 Or copy and paste one of these URLs: 13 http://localhost:8888/?token=8839dbe4774a7ea22dfcb7ab91af923115edf948216df32e 14 or http://127.0.0.1:8888/?token=8839dbe4774a7ea22dfcb7ab91af923115edf948216df32e 15[W 15:54:04.582 LabApp] Could not determine jupyterlab build status without nodejs 16[I 15:54:07.021 LabApp] Creating new notebook in / 17[I 15:54:07.183 LabApp] Kernel started: 043e15be-6f58-4633-af7f-129bb5e3bd7a 18Traceback (most recent call last): 19 File "/Users/sho/opt/anaconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main 20 return _run_code(code, main_globals, None, 21 File "/Users/sho/opt/anaconda3/lib/python3.8/runpy.py", line 87, in _run_code 22 exec(code, run_globals) 23 File "/Users/sho/opt/anaconda3/lib/python3.8/site-packages/ipykernel_launcher.py", line 15, in <module> 24 from ipykernel import kernelapp as app 25 File "/Users/sho/opt/anaconda3/lib/python3.8/site-packages/ipykernel/__init__.py", line 2, in <module> 26 from .connect import * 27 File "/Users/sho/opt/anaconda3/lib/python3.8/site-packages/ipykernel/connect.py", line 13, in <module> 28 from IPython.core.profiledir import ProfileDir 29 File "/Users/sho/opt/anaconda3/lib/python3.8/site-packages/IPython/__init__.py", line 56, in <module> 30 from .terminal.embed import embed 31 File "/Users/sho/opt/anaconda3/lib/python3.8/site-packages/IPython/terminal/embed.py", line 14, in <module> 32 from IPython.core.magic import Magics, magics_class, line_magic 33 File "/Users/sho/opt/anaconda3/lib/python3.8/site-packages/IPython/core/magic.py", line 20, in <module> 34 from . import oinspect 35 File "/Users/sho/opt/anaconda3/lib/python3.8/site-packages/IPython/core/oinspect.py", line 29, in <module> 36 from IPython.core import page 37 File "/Users/sho/opt/anaconda3/lib/python3.8/site-packages/IPython/core/page.py", line 27, in <module> 38 from IPython.core.display import display 39ModuleNotFoundError: No module named 'IPython.core.display'
ターミナル上では、計算等実施できますので、文法に誤りはないかと存じます。
何卒よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー