Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)
See original GitHub issueEnvironment data
- VS Code version: 1.63.2
- Jupyter Extension version (available under the Extensions sidebar): v2021.11.1001550889
- Python Extension version (available under the Extensions sidebar): v2021.12.1559732655
- OS (Windows | Mac | Linux distro) and version: Windows_NT x64 10.0.22000
- Python and/or Anaconda version: Python 3.10.1
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
- Jupyter server running: Local | Remote | N/A: Local
vscode version details
Version: 1.63.2 (user setup)
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:40:02.816Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000
I installed python 3.10 from ms store. and then I install jupyter
successed. Then I create a python script named test.py which contains the following demo code.
# %% [markdown]
# # Hello World
# %%
print('Hello, World!')
<summay>pip install --upgrade jupyter</summay>
D:\code\python>python --version
Python 3.10.1
D:\code\python>pip install --upgrade jupyter
Collecting jupyter
Using cached jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)
Collecting jupyter-console
Using cached jupyter_console-6.4.0-py3-none-any.whl (22 kB)
Collecting ipykernel
Using cached ipykernel-6.6.0-py3-none-any.whl (126 kB)
Collecting ipywidgets
Using cached ipywidgets-7.6.5-py2.py3-none-any.whl (121 kB)
Collecting nbconvert
Using cached nbconvert-6.3.0-py3-none-any.whl (556 kB)
Collecting notebook
Using cached notebook-6.4.6-py3-none-any.whl (9.9 MB)
Collecting qtconsole
Using cached qtconsole-5.2.2-py3-none-any.whl (120 kB)
Collecting traitlets<6.0,>=5.1.0
Using cached traitlets-5.1.1-py3-none-any.whl (102 kB)
Collecting ipython>=7.23.1
Using cached ipython-7.30.1-py3-none-any.whl (791 kB)
Collecting debugpy<2.0,>=1.0.0
Using cached debugpy-1.5.1-cp310-cp310-win_amd64.whl (4.4 MB)
Collecting tornado<7.0,>=4.2
Using cached tornado-6.1-cp310-cp310-win_amd64.whl
Collecting matplotlib-inline<0.2.0,>=0.1.0
Using cached matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)
Collecting jupyter-client<8.0
Using cached jupyter_client-7.1.0-py3-none-any.whl (129 kB)
Collecting backcall
Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting jedi>=0.16
Using cached jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
Collecting colorama
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting pygments
Using cached Pygments-2.11.1-py3-none-any.whl (1.1 MB)
Collecting pickleshare
Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Requirement already satisfied: setuptools>=18.5 in c:\program files\windowsapps\pythonsoftwarefoundation.python.3.10_3.10.496.0_x64__qbz5n2kfra8p0\lib\site-packages (from ipython>=7.23.1->ipykernel->jupyter) (58.1.0)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
Using cached prompt_toolkit-3.0.24-py3-none-any.whl (374 kB)
Collecting decorator
Using cached decorator-5.1.0-py3-none-any.whl (9.1 kB)
Collecting parso<0.9.0,>=0.8.0
Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting entrypoints
Using cached entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting python-dateutil>=2.1
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting jupyter-core>=4.6.0
Using cached jupyter_core-4.9.1-py3-none-any.whl (86 kB)
Collecting nest-asyncio>=1.5
Using cached nest_asyncio-1.5.4-py3-none-any.whl (5.1 kB)
Collecting pyzmq>=13
Using cached pyzmq-22.3.0-cp310-cp310-win_amd64.whl (1.1 MB)
Collecting pywin32>=1.0
Using cached pywin32-303-cp310-cp310-win_amd64.whl (9.2 MB)
Collecting wcwidth
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting six>=1.5
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting jupyterlab-widgets>=1.0.0
Using cached jupyterlab_widgets-1.0.2-py3-none-any.whl (243 kB)
Collecting nbformat>=4.2.0
Using cached nbformat-5.1.3-py3-none-any.whl (178 kB)
Collecting ipython-genutils~=0.2.0
Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting widgetsnbextension~=3.5.0
Using cached widgetsnbextension-3.5.2-py2.py3-none-any.whl (1.6 MB)
Collecting jsonschema!=2.5.0,>=2.4
Using cached jsonschema-4.3.3-py3-none-any.whl (71 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.18.0-cp310-cp310-win_amd64.whl
Collecting attrs>=17.4.0
Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting terminado>=0.8.3
Using cached terminado-0.12.1-py3-none-any.whl (15 kB)
Collecting Send2Trash>=1.8.0
Using cached Send2Trash-1.8.0-py3-none-any.whl (18 kB)
Collecting argon2-cffi
Using cached argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting prometheus-client
Using cached prometheus_client-0.12.0-py2.py3-none-any.whl (57 kB)
Collecting jinja2
Using cached Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting pywinpty>=1.1.0
Using cached pywinpty-1.1.6-cp310-none-win_amd64.whl (1.4 MB)
Collecting argon2-cffi-bindings
Using cached argon2_cffi_bindings-21.2.0-cp36-abi3-win_amd64.whl (30 kB)
Collecting cffi>=1.0.1
Using cached cffi-1.15.0-cp310-cp310-win_amd64.whl (180 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting MarkupSafe>=2.0
Using cached MarkupSafe-2.0.1-cp310-cp310-win_amd64.whl (15 kB)
Collecting defusedxml
Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting nbclient<0.6.0,>=0.5.0
Using cached nbclient-0.5.9-py3-none-any.whl (69 kB)
Collecting bleach
Using cached bleach-4.1.0-py2.py3-none-any.whl (157 kB)
Collecting pandocfilters>=1.4.1
Using cached pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting testpath
Using cached testpath-0.5.0-py3-none-any.whl (84 kB)
Collecting mistune<2,>=0.8.1
Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting jupyterlab-pygments
Using cached jupyterlab_pygments-0.1.2-py2.py3-none-any.whl (4.6 kB)
Collecting webencodings
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting packaging
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Using cached pyparsing-3.0.6-py3-none-any.whl (97 kB)
Collecting qtpy
Using cached QtPy-2.0.0-py3-none-any.whl (62 kB)
Installing collected packages: traitlets, six, pywin32, pyrsistent, attrs, wcwidth, tornado, pyzmq, python-dateutil, pyparsing, pycparser, parso, nest-asyncio, jupyter-core, jsonschema, ipython-genutils, entrypoints, webencodings, pygments, prompt-toolkit, pickleshare, packaging, nbformat, matplotlib-inline, MarkupSafe, jupyter-client, jedi, decorator, colorama, cffi, backcall, testpath, pywinpty, pandocfilters, nbclient, mistune, jupyterlab-pygments, jinja2, ipython, defusedxml, debugpy, bleach, argon2-cffi-bindings, terminado, Send2Trash, prometheus-client, nbconvert, ipykernel, argon2-cffi, notebook, widgetsnbextension, qtpy, jupyterlab-widgets, qtconsole, jupyter-console, ipywidgets, jupyter
Successfully installed MarkupSafe-2.0.1 Send2Trash-1.8.0 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 attrs-21.4.0 backcall-0.2.0 bleach-4.1.0 cffi-1.15.0 colorama-0.4.4 debugpy-1.5.1 decorator-5.1.0 defusedxml-0.7.1 entrypoints-0.3 ipykernel-6.6.0 ipython-7.30.1 ipython-genutils-0.2.0 ipywidgets-7.6.5 jedi-0.18.1 jinja2-3.0.3 jsonschema-4.3.3 jupyter-1.0.0 jupyter-client-7.1.0 jupyter-console-6.4.0 jupyter-core-4.9.1 jupyterlab-pygments-0.1.2 jupyterlab-widgets-1.0.2 matplotlib-inline-0.1.3 mistune-0.8.4 nbclient-0.5.9 nbconvert-6.3.0 nbformat-5.1.3 nest-asyncio-1.5.4 notebook-6.4.6 packaging-21.3 pandocfilters-1.5.0 parso-0.8.3 pickleshare-0.7.5 prometheus-client-0.12.0 prompt-toolkit-3.0.24 pycparser-2.21 pygments-2.11.1 pyparsing-3.0.6 pyrsistent-0.18.0 python-dateutil-2.8.2 pywin32-303 pywinpty-1.1.6 pyzmq-22.3.0 qtconsole-5.2.2 qtpy-2.0.0 six-1.16.0 terminado-0.12.1 testpath-0.5.0 tornado-6.1 traitlets-5.1.1 wcwidth-0.2.5 webencodings-0.5.1 widgetsnbextension-3.5.2
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\Liu.D.H\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip' command.
D:\code\python>
Expected behaviour
Work as expected.
Actual behaviour
(code: 1073741845). Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100). View Jupyter log for further details.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- run a simple python notebook script.
Logs
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
Jupyter Extension Version: 2021.11.1001550889.
Python Extension Verison: 2021.12.1559732655.
Info 11:42:11: Experimentation service retrieved: [object Object]
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Info 11:42:11: ZMQ install verified.
Info 11:42:11: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Info 11:42:13: Process Execution: > ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe -m pip list
> ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe -m pip list
Info 11:42:44: Creating controller for interactive with interpreter ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe
Info 11:42:44: Starting interactive window with controller ID ms-toolsai.jupyter/.jvsc74a57bd01e90f1d75b4a90568f109dbac2744b49ffb7db08d5da1e85a550aa60f9d04885.C:\Users\Liu.D.H\AppData\Local\Microsoft\WindowsApps\python3.10.exe.C:\Users\Liu.D.H\AppData\Local\Microsoft\WindowsApps\python3.10.exe.-m#ipykernel_launcher (Interactive)
Info 11:42:44: Setting setActiveController for vscode-interactive:Interactive-1.interactive
Info 11:42:44: Starting Notebook in kernel.ts id = .jvsc74a57bd01e90f1d75b4a90568f109dbac2744b49ffb7db08d5da1e85a550aa60f9d04885.C:\Users\Liu.D.H\AppData\Local\Microsoft\WindowsApps\python3.10.exe.C:\Users\Liu.D.H\AppData\Local\Microsoft\WindowsApps\python3.10.exe.-m#ipykernel_launcher
Info 11:42:44: Creating raw notebook for vscode-interactive:Interactive-1.interactive
Info 11:42:44: Getting preferred kernel for vscode-interactive:Interactive-1.interactive
Info 11:42:44: Computing working directory vscode-interactive:Interactive-1.interactive
Info 11:42:44: Starting raw kernel Python 3.10.1
Info 11:42:44: installMissingDependencies ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe
Info 11:42:44: IPykernel found previously in this enviornment ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe
Info 11:42:44: Kernel launching with ports 9010,9011,9012,9013,9014. Start port is 9000
Info 11:42:44: Launching kernel daemon for Python 3.10.1 64-bit (windows store) # ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe
Info 11:42:44: No custom variables for Kernel as interpreter is not conda, but is WindowsStore
Info 11:42:44: Creating daemon process for ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe with env variables count 0
Info 11:42:45: Process Execution: > ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 11:42:45: Registering dummy command feature
Info 11:42:45: Starting kernel from scratch
Warn 11:42:47: StdErr from Kernel Process C:\Users\Liu.D.H\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\traitlets\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
Warn 11:42:47: StdErr from Kernel Process warn(
Warn 11:42:47: StdErr from Kernel Process C:\Users\Liu.D.H\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\traitlets\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.
Warn 11:42:47: StdErr from Kernel Process warn(
Warn 11:42:47: StdErr from Kernel Process Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)
Error 11:42:47: Kernel died o [Error]: The kernel died. View Jupyter [log](command:jupyter.viewOutput) for further details.
Error: (code: 1073741845). Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)....
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:1023351
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:695951
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:696169
at Immediate._onImmediate (c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:697734)
at processImmediate (internal/timers.js:461:21) {
category: 'kerneldied',
errorMessage: ' (code: 1073741845). Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100). \n',
stdErr: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n',
exitCode: 1073741845,
reason: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n'
} C:\Users\Liu.D.H\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\traitlets\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
warn(
C:\Users\Liu.D.H\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\traitlets\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.
warn(
Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)
Error 11:42:47: KernelProcess Exit Exit - 1073741845, C:\Users\Liu.D.H\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\traitlets\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
warn(
C:\Users\Liu.D.H\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\traitlets\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.
warn(
Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)
o [Error]: The kernel died. View Jupyter [log](command:jupyter.viewOutput) for further details.
Error: (code: 1073741845). Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)....
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:1023351
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:695951
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:696169
at Immediate._onImmediate (c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:697734)
at processImmediate (internal/timers.js:461:21) {
category: 'kerneldied',
errorMessage: ' (code: 1073741845). Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100). \n',
stdErr: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n',
exitCode: 1073741845,
reason: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n'
}
Error 11:42:47: Disposing kernel process due to an error o [Error]: The kernel died. View Jupyter [log](command:jupyter.viewOutput) for further details.
Error: (code: 1073741845). Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)....
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:1023351
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:695951
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:696169
at Immediate._onImmediate (c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:697734)
at processImmediate (internal/timers.js:461:21) {
category: 'kerneldied',
errorMessage: ' (code: 1073741845). Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100). \n',
stdErr: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n',
exitCode: 1073741845,
reason: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n'
}
Error 11:42:47: C:\Users\Liu.D.H\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\traitlets\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
warn(
C:\Users\Liu.D.H\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\traitlets\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.
warn(
Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)
Info 11:42:47: Dispose Kernel process
Info 11:42:47: kill daemon
Error 11:42:47: Failed to connect raw kernel session: Error: The kernel died. View Jupyter [log](command:jupyter.viewOutput) for further details.
Error: (code: 1073741845). Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)....
Error 11:42:47: failed to create INotebook in kernel, UI Disabled = false o [Error]: The kernel died. View Jupyter [log](command:jupyter.viewOutput) for further details.
Error: (code: 1073741845). Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)....
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:1023351
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:695951
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:696169
at Immediate._onImmediate (c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:697734)
at processImmediate (internal/timers.js:461:21) {
category: 'kerneldied',
errorMessage: ' (code: 1073741845). Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100). \n',
stdErr: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n',
exitCode: 1073741845,
reason: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n'
}
Error 11:42:47: failed to start INotebook in kernel, UI Disabled = false o [Error]: The kernel died. View Jupyter [log](command:jupyter.viewOutput) for further details.
Error: (code: 1073741845). Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)....
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:1023351
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:695951
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:696169
at Immediate._onImmediate (c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:697734)
at processImmediate (internal/timers.js:461:21) {
category: 'kerneldied',
errorMessage: ' (code: 1073741845). Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100). \n',
stdErr: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n',
exitCode: 1073741845,
reason: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n'
}
Error 11:42:47: DataScience Error o [Error]: The kernel died. View Jupyter [log](command:jupyter.viewOutput) for further details.
Error: (code: 1073741845). Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)....
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:1023351
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:695951
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:696169
at Immediate._onImmediate (c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:697734)
at processImmediate (internal/timers.js:461:21) {
category: 'kerneldied',
errorMessage: ' (code: 1073741845). Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100). \n',
stdErr: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n',
exitCode: 1073741845,
reason: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n'
}
Error 11:42:47: DataScience Error o [Error]: The kernel died. View Jupyter [log](command:jupyter.viewOutput) for further details.
Error: (code: 1073741845). Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100)....
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:1023351
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:695951
at c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:696169
at Immediate._onImmediate (c:\Users\Liu.D.H\.vscode\extensions\ms-toolsai.jupyter-2021.11.1001550889\out\client\extension.js:66:697734)
at processImmediate (internal/timers.js:461:21) {
category: 'kerneldied',
errorMessage: ' (code: 1073741845). Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100). \n',
stdErr: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n',
exitCode: 1073741845,
reason: `C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\r\n` +
' warn(\r\n' +
`C:\\Users\\Liu.D.H\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\traitlets\\traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c33d34a3-bf83-4ace-b4cd-7cc51e7b8333' instead of 'b"c33d34a3-bf83-4ace-b4cd-7cc51e7b8333"'.\r\n` +
' warn(\r\n' +
'Bad file descriptor (C:\\projects\\libzmq\\src\\epoll.cpp:100)\n'
}
Info 11:43:20: Pre-warming kernel daemon for d:\code\node\playground
Info 11:43:20: IPykernel found previously in this enviornment ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe
Info 11:43:20: Creating daemon process for ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe with env variables count 0
Info 11:43:20: Process Execution: > ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~\AppData\Local\Microsoft\WindowsApps\python3.10.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 11:43:49: Disposing kernel .jvsc74a57bd01e90f1d75b4a90568f109dbac2744b49ffb7db08d5da1e85a550aa60f9d04885.C:\Users\Liu.D.H\AppData\Local\Microsoft\WindowsApps\python3.10.exe.C:\Users\Liu.D.H\AppData\Local\Microsoft\WindowsApps\python3.10.exe.-m#ipykernel_launcher for notebook vscode-interactive:Interactive-1.interactive due to selection of another kernel or closing of the notebook
Info 11:43:49: Dispose kernel file:///d%3A/code/node/playground/hello.py
Info 11:43:49: Notebook Closed vscode-interactive:Interactive-1.interactive
Info 11:43:49: Kernel got disposed as a result of closing the notebook vscode-interactive:Interactive-1.interactive
Info 11:43:49: Closing interactive window: vscode-interactive:Interactive-1.interactive
If I start jupyter outside vscode, it did not have such problems.
C:\Users\Liu.D.H>python -V
Python 3.10.1
C:\Users\Liu.D.H>jupyter notebook
[I 2022-01-02 12:41:09.189 LabApp] JupyterLab extension loaded from C:\Users\Liu.D.H\anaconda3\lib\site-packages\jupyterlab
[I 2022-01-02 12:41:09.189 LabApp] JupyterLab application directory is C:\Users\Liu.D.H\anaconda3\share\jupyter\lab
[I 12:41:09.195 NotebookApp] Serving notebooks from local directory: C:\Users\Liu.D.H
[I 12:41:09.195 NotebookApp] Jupyter Notebook 6.3.0 is running at:
[I 12:41:09.195 NotebookApp] http://localhost:8888/?token=1876d314b734191a982b48d68bd5ab04b2db7e3a5b86fc60
[I 12:41:09.196 NotebookApp] or http://127.0.0.1:8888/?token=1876d314b734191a982b48d68bd5ab04b2db7e3a5b86fc60
[I 12:41:09.196 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 12:41:09.282 NotebookApp]
To access the notebook, open this file in a browser:
file:///C:/Users/Liu.D.H/AppData/Roaming/jupyter/runtime/nbserver-25116-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=1876d314b734191a982b48d68bd5ab04b2db7e3a5b86fc60
or http://127.0.0.1:8888/?token=1876d314b734191a982b48d68bd5ab04b2db7e3a5b86fc60
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100 #2058
Try running locust anyway. Unfortunately this looks line a pure zmq issue so if it still doesnt work then there is not really...
Read more >Bad file descriptor (C:\ci\zeromq_1602704446950\work\src ...
Bad file descriptor (C:\ci\zeromq_1602704446950\work\src\epoll.cpp:100) · I made sure that the installed versions of PyQTWebEngine and PyQT5 ...
Read more >Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100) 解决 ...
Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100) 解决方案. 太笨鸟 于 2021-10-26 11:53:14 发布 6668 收藏 27. 分类专栏: python 文章标签: python.
Read more >解决Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100 ...
解决Bad file descriptor (C:\projects\libzmq\src\epoll.cpp:100) 的一种方式. 原创.
Read more >jupyterhub/jupyterhub - Gitter
are you doing static files out of nginx? _. ah, I see jon mentioned it above. Kyle Kelley. @rgbkrk. Bad file descriptor may...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@DonJayamanne Thanks for the tips :😊
@rchiodo Thank you very much! 😄