0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

minicondaでjupyterを使おうとしたらカーネルが起動しない

Posted at

はじめに

この記事は2021年9月にまとめていた「細かいつまずいたことをメモしておく(9月編)をそれぞれ投稿した内容になります
解決方法が最新でない可能性もありますのでご了承ください

問題

minnicondaでjupyterを起動すると以下のエラーが発生

nel died with exit code 1. Traceback (most recent call last): File   
"C:\Users\username\Anaconda3\lib\runpy.py", line 
193, in run_module_as_main "main", mod_spec) File
 "C:\Users\username\Anaconda3\lib\runpy.py", line
 85, in run_code exec(code, run_globals) File 
"C:\Users\username\Anaconda3\lib\site-packages\ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app File 
"C:\Users\username\Anaconda3\lib\site-
packages\ipykernel_init.py", line 2, in from 
.connect import * File 
"C:\Users\username\Anaconda3\lib\site-
packages\ipykernel\connect.py", line 18, in 
import jupyter_client File 
"C:\Users\username\Anaconda3\lib\site-
packages\jupyter_client_init.py", line 4, in from 
.connect import * File 
"C:\Users\username\Anaconda3\lib\site-
packages\jupyter_client\connect.py", line 24, in 
import zmq File 
"C:\Users\username\Anaconda3\lib\site-
packages\zmq_init_.py", line 4...

エラーはこちらから引用
VSCodeでipynbを実行していたが、コードを実行すると右下にエラーがでてました

解決方法

以下のコードをminicondaで実行したところ治った

$ conda install ipykernel --update-deps
0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?