VSCODEでJupyterが動作しない。
VSCodeで Jupyter Server Not Startと出る。
VSCODE: 1.42.1
Python: 3.7.6
(py376) MacBook-Air:python_programming username$ jupyter --version
jupyter core : 4.6.1
jupyter-notebook : 6.0.3
qtconsole : 4.6.0
ipython : 7.12.0
ipykernel : 5.1.4
jupyter client : 5.3.4
jupyter lab : not installed
nbconvert : 5.6.1
ipywidgets : 7.5.1
nbformat : 5.0.4
traitlets : 4.3.3
(py376) MacBook-Air:python_programming username$ conda info
active environment : py376 active env location : /Users/username/anaconda3/envs/py376 shell level : 2 user config file : /Users/username/.condarc
populated config files : /Users/username/.condarc
conda version : 4.8.2
conda-build version : 3.15.1
python version : 3.6.6.final.0
virtual packages : __osx=10.15.3
base environment : /Users/username/anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /Users/username/anaconda3/pkgs
/Users/username/.conda/pkgs
envs directories : /Users/username/anaconda3/envs
/anaconda3/envs
/Users/username/.conda/envs
platform : osx-64
user-agent : conda/4.8.2 requests/2.22.0 CPython/3.6.6 Darwin/19.3.0 OSX/10.15.3
UID:GID : 501:20
netrc file : None
offline mode : False
ログが長いので最初と最後だけ抜粋
Starting Jupyter from ~/anaconda3/bin/python [I 15:06:10.659 NotebookApp] The port 8888 is already in use, trying another port. [I 15:06:10.707 NotebookApp] Serving notebooks from local directory: /var/folders/p4/h9nrqcxj31g_8pbs1l9jm7j80000gn/T/af073414-4174-4af8-a70e-d6857fbd0f13 [I 15:06:10.710 NotebookApp] 0 active kernels [I 15:06:10.712 NotebookApp] The Jupyter Notebook is running at: [I 15:06:10.713 NotebookApp] http://localhost:8889/?token=e5ae0b6916640f50d823fffc1a0521e14c9364826cd3e7a0 [I 15:06:10.724 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 15:06:10.743 NotebookApp] Copy/paste this URL into your browser when you connect for the first time, to login with a token: http://localhost:8889/?token=e5ae0b6916640f50d823fffc1a0521e14c9364826cd3e7a0 [I 15:06:13.341 NotebookApp] Creating new notebook in / [I 15:06:13.488 NotebookApp] Kernel started: 345ea2af-c7c5-43c6-a8be-58142a197e0e [E 15:06:16.158 NotebookApp] Uncaught exception GET /api/kernels/345ea2af-c7c5-43c6-a8be-58142a197e0e/channels?session_id=0d7c42a5-26ca-4eda-ad26-0cb96b429d25&token=e5ae0b6916640f50d823fffc1a0521e14c9364826cd3e7a0 (127.0.0.1) HTTPServerRequest(protocol='http', host='localhost:8889', method='GET', uri='/api/kernels/345ea2af-c7c5-43c6-a8be-58142a197e0e/channels?session_id=0d7c42a5-26ca-4eda-ad26-0cb96b429d25&token=e5ae0b6916640f50d823fffc1a0521e14c9364826cd3e7a0', version='HTTP/1.1', remote_ip='127.0.0.1') Traceback (most recent call last): File "/Users/username/anaconda3/lib/python3.6/site-packages/tornado/websocket.py", line 546, in _run_callback result = callback(*args, **kwargs) File "/Users/username/anaconda3/lib/python3.6/site-packages/notebook/services/kernels/handlers.py", line 258, in open super(ZMQChannelsHandler, self).open() File "/Users/username/anaconda3/lib/python3.6/site-packages/notebook/base/zmqhandlers.py", line 168, in open self.send_ping, self.ping_interval, io_loop=loop, TypeError: __init__() got an unexpected keyword argument 'io_loop' [E 15:06:17.179 NotebookApp] Uncaught exception GET /api/kernels/345ea2af-c7c5-43c6-a8be-58142a197e0e/channels?session_id=0d7c42a5-26ca-4eda-ad26-0cb96b429d25&token=e5ae0b6916640f50d823fffc1a0521e14c9364826cd3e7a0 (127.0.0.1)
途中省略
HTTPServerRequest(protocol='http', host='localhost:8889', method='GET', uri='/api/kernels/345ea2af-c7c5-43c6-a8be-58142a197e0e/channels?session_id=0d7c42a5-26ca-4eda-ad26-0cb96b429d25&token=e5ae0b6916640f50d823fffc1a0521e14c9364826cd3e7a0', version='HTTP/1.1', remote_ip='127.0.0.1') Traceback (most recent call last): File "/Users/username/anaconda3/lib/python3.6/site-packages/tornado/websocket.py", line 546, in _run_callback result = callback(*args, **kwargs) File "/Users/username/anaconda3/lib/python3.6/site-packages/notebook/services/kernels/handlers.py", line 258, in open super(ZMQChannelsHandler, self).open() File "/Users/username/anaconda3/lib/python3.6/site-packages/notebook/base/zmqhandlers.py", line 168, in open self.send_ping, self.ping_interval, io_loop=loop, TypeError: __init__() got an unexpected keyword argument 'io_loop'
あなたの回答
tips
プレビュー