0
0

エラーFailed to start the Kernel. Bad file descriptor

Posted at

問題

VSコードでJupyter notebookのPythonコードを回そうとすると前は使えてたのにいきなり下記のようなエラーが出てきた

Failed to start the Kernel. 
Bad file descriptor (C:\Users\runneradmin\AppData\Local\Temp\tmpkywtyyea\build\_deps\bundled_libzmq-src\src\......). 
View Jupyter log for further details.


解決できた

基本的に下記を拝見したらできました。ありがとうございました。

追加でやったこと

S C:\Users\xxxxx> pip install pyzmq==25.2.1
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement pyzmq==25.2.1 (from versions: 2.0.7, 2.0.8, 2.0.10, 2.0.10.1, 2.1.1, 2.1.4, 2.1.7, 2.1.9, 2.1.10, 2.1.11, 2.2.0, 2.2.0.1, 13.0.0, 13.0.1, 13.0.2, 13.1.0, 14.0.0, 14.0.1, 14.1.0, 14.1.1, 14.2.0, 14.3.0, 14.3.1, 14.4.0, 14.4.1, 14.5.0, 14.6.0, 14.7.0, 15.0.0, 15.1.0, 15.2.0, 15.3.0, 15.4.0, 16.0.0, 16.0.1, 16.0.2, 16.0.3, 16.0.4, 17.0.0b1, 17.0.0b2, 17.0.0b3, 17.0.0b4, 17.0.0, 17.1.0, 17.1.1, 17.1.2, 17.1.3, 18.0.0, 18.0.1, 18.0.2, 18.1.0, 18.1.1, 19.0.0, 19.0.1, 19.0.2, 20.0.0, 21.0.0, 21.0.1, 21.0.2, 22.0.0, 22.0.1, 22.0.2, 22.0.3, 22.1.0, 22.2.0, 22.2.1, 22.3.0, 23.0.0b1, 23.0.0b2, 23.0.0, 23.1.0, 23.2.0, 23.2.1, 24.0.0, 24.0.1, 25.0.0b1, 25.0.0, 25.0.1, 25.0.2, 25.1.0, 25.1.1b1, 25.1.1b2, 25.1.1, 25.1.2, 26.0.0a1, 26.0.0a2, 26.0.0a3, 26.0.0a4, 26.0.0a5, 26.0.0a6, 26.0.0b1, 26.0.0b2, 26.0.0, 26.0.1, 26.0.2, 26.0.3)
ERROR: No matching distribution found for pyzmq==25.2.1

と出たので

PS C:\Users\xxxxx> pip install pyzmq==25.1.2

にしてみたらうまく回るようになりました。

つい1週間前まで何も設定いじってなかったのにいきなり使えてたものが使えなくなるとビビりますね!

0
0
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
0