Notebook: Error "bad file descriptor"

Created on 29 Dec 2020  路  3Comments  路  Source: jupyter/notebook

Can't launch Jupyter Notebook
I tried to install tensorflow then the numpy doesn't work. So I reinstalled numpy then jupyter notebook doesn't work at all. Whenever I open or create a new ipynb file the service will be diconnected and such error pops out:
Bad file descriptor (D:\bld\zeromq_1605919615529\work\src\epoll.cpp:100)
Then jupyter crashes :(

*Attach a screen shot*
鍥剧墖

To Reproduce

  1. launch the jupyter notebook
  2. go to the notebook page (so far everything seems good)
  3. open a ipynb file
  4. lose connection, error pops out in the powershell prompt shell

Expected behavior
Open an ipynb file normally.

Screenshots
This is the error from the prompt
鍥剧墖

Desktop (please complete the following information):

  • Windows 10 Pro
  • Anaconda Powershell Prompt (mini) 4.9.2
  • Jupyter Notebook 6.1.6

Additional context
I uninstalled jupyter and conda and re-install them but it doesn't work. I still get the same error.

Most helpful comment

Hi @CarlatBuffalo - Could you please include a screen-scrape of the entire traceback information - not just the Bad file descriptor message? That should provide some additional details that might help others identify the issue.

All 3 comments

Hi @CarlatBuffalo - Could you please include a screen-scrape of the entire traceback information - not just the Bad file descriptor message? That should provide some additional details that might help others identify the issue.

I had the same problem.But,If you use base (root) this environment can be used normally.Here is the wrong message.
IMG_20210101_213422

IMG_20210101_214229

Issue solved today. I tried the following command to reinstall jupyter then it somehow works.
pip install --upgrade --force-reinstall --no-cache-dir jupyter

Was this page helpful?
0 / 5 - 0 ratings