ipython / ipykernel

IPython Kernel for Jupyter
https://ipykernel.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
633 stars 362 forks source link

Kernel Error Jupyter Notebook #504

Open sritelidevara opened 4 years ago

sritelidevara commented 4 years ago

I am getting the following error while opening tensorflow environment in Jupyter . Please help resolve the issue:

File "C:\Users\telid\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\jupyter_client\connect.py", line 53, in win32_restrict_file_to_user import win32api ImportError: No module named 'win32api' [W 02:41:41.869 NotebookApp] Unhandled error

blink1073 commented 4 years ago

Hi @sritelidevara, I think this is related to https://github.com/jupyter/jupyter_client/issues/480. What version of jupyter_client do you have? pip show jupyter-client

sritelidevara commented 4 years ago

Hi @sritelidevara, I think this is related to jupyter/jupyter_client#480. What version of jupyter_client do you have? pip show jupyter-client

Thank you. I am not getting error whenever I am launching Jupyter notebook from anaconda base application.

When I am specifically choosing tensorflow I am experiencing this problem:

Version: 5.3.4 Summary: Jupyter protocol implementation and client libraries Home-page: https://jupyter.org Author: Jupyter Development Team Author-email: jupyter@googlegroups.com License: BSD Location: c:\programdata\anaconda3\lib\site-packages Requires: pywin32, python-dateutil, jupyter-core, traitlets, pyzmq, tornado Required-by: spyder-kernels, qtconsole, notebook, jupyter-console, ipykernel

blink1073 commented 4 years ago

There are some 6.0+ releases, are you able to upgrade? pip install --upgrade jupyter-client