no connection to kernel jupyter
Note if I try to open another Juypter window while the 1st one is still opened seems all socket are used. p = sre_compile.compile(pattern, flags) File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\ipykernel_launcher.py", line 15, in Traceback (most recent call last): The Jupyter Notebook most of us work with runs on Anaconda. rev2023.1.17.43168. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py", line 194, in run_module_as_main from . File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\runpy.py", line 197, in _run_module_as_main For anyone that still has this issue, one of the main causes of this is you are running out of storage. [D 17:15:59.608 NotebookApp] Path components/react/react.production.min.js served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/react/react.production.min.js Where did i go wrong here and how can i fix this? [W 08:54:45.348 NotebookApp] 404 GET /api/kernels/141bcf3c-2e22-45aa-a0cf-5a6e91946b02/channels?session_id=8e34707500254cf68e9a67a6a7157d43 (::1): Kernel does not exist: 141bcf3c-2e22-45aa-a0cf-5a6e91946b02 /Users/lgouda/.jupyter/nbconfig/common.json This can be a common problem, e.g. File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\json\decoder.py", line 337, in decode reraise(*exc_info) Not the answer you're looking for? [D 17:16:00.826 NotebookApp] 200 GET /nbextensions/nb_conda/urls.js?v=20191105171433 (172.16.48.232) 3.07ms [I 19:46:31.318 NotebookApp] Serving notebooks from local directory: /Users/lgouda File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\json_init.py", line 346, in loads File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 687, in init [W 05:37:41.870 NotebookApp] KernelRestarter: restart failed File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py", line 16, in p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0) super(ZMQInteractiveShell, self).init_magics() It keeps saying that the kernel not found or was deleted. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\jupyter_client_init.py", line 4, in ns = select_backend(first) json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) [I 2022-10-14 13:28:37.805 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports from .connect import * By clicking Sign up for GitHub, you agree to our terms of service and [D 19:47:25.568 NotebookApp] Path notebook/css/override.css served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/notebook/css/override.css File "/Users/lgouda/opt/anaconda3/lib/python3.9/os.py", line 1001, in close python3 C:\Users\stephen.bonacci\Anaconda3\share\jupyter\kernels\python3, (base) C:\Users\stephen.bonacci>jupyter lab File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\pandas_testing.py", line 404, in Site Maintenance- Friday, January 20, 2023 02:00 UTC (Thursday Jan 19 9PM Were bringing advertisements for technology courses to Stack Overflow. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 193, in run_module_as_main What are the disadvantages of using a charging station with power banks? File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_launcher.py", line 15, in Now i can connect to jupyter notebook again. from .connect import * To learn more, see our tips on writing great answers. [D 21:03:46.327 NotebookApp] Path base/images/logo.png served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/base/images/logo.png mod = import(name, fromlist=public_api) File "C:\ProgramData\Anaconda3\lib\re.py", line 286, in _compile re.error: incomplete escape \U at position 52 File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel\connect.py", line 18, in self.execre = re.compile(r'(.). [I 14:48:25.129 NotebookApp] JupyterLab application directory is c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\share\jupyter\lab from .connect import * from ipykernel import kernelapp as app available. import jupyter_client Done. The others talk about having multiple winsock.dll files on the path - but some of those are refuted. mod = import(name, fromlist=public_api) raise value [D 17:16:48.619 NotebookApp] Kernel args: {'kernel_name': 'python3', 'cwd': '/root/test_dir'} [I 13:43:20.812 NotebookApp] Serving notebooks from local directory: C:\Users\user [D 19:48:44.229 NotebookApp] Initializing websocket connection /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels I start a jupyter-lab with a few notebooks. from .connect import * previously, in order to install tensorflow 2.0.0, the cuda running version was upgraded to cuda 10.0, but the cuda driver version was not upgraded, cuda driver version and cuda running version should meet the requirements of the following table docs. (%s)$' % winext,re.IGNORECASE) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq_init_.py", line 50, in In new ML workspace you need to setup the computing resource to run the jupyter. internet security software is disabled, but I still have problem with it :( Attached is terminal output @kevin-bates any shot you can help? Some of them are running fine, but if I restart one, sometimes it gets stuck in the "Connecting" or "Initializing" status. [W 13:16:51.419 NotebookApp] Config option template_path not recognized by TocExporter. Your home for data science. File "C:\ProgramData\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client\connect.py", line 21, in m.PylabMagics, m.ScriptMagics, import pandas as pd For me it's not clear if this bug is on tornado or jupyter side. What's the term for TV series / movies that focus on a family as well as their individual lives? Its that attempted use of the kernel that should produce more information on the terminal window in which you started the server. Be sure to update your config before our next release. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend_init_.py", line 27, in import jupyter_client File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 85, in run_code File "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\config\configurable.py", line 412, in instance We did a demo and everything worked last week. from zmq import backend The Jupyter notebook keeps saying Connecting to kernel, which never reaches finally popping an error. [I 13:16:44.443 NotebookApp] Kernel started: b165f980-2053-418e-ae80-4c5d9403e306, name: ajitenv @toanasahmed - we're actually going backwards here from a troubleshooting standpoint, so let's try to address the issues I see in your response and we'll go from there.. [D 19:47:26.039 NotebookApp] Path components/text-encoding/lib/encoding.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/text-encoding/lib/encoding.js I am attaching some images please find out. import pandas as pd import pandas.testing [W 13:16:24.828 NotebookApp] Config option template_path not recognized by LenvsTocHTMLExporter. super(ZMQInteractiveShell, self).init_magics() Referenced from: /Users/sidodalpozzolo/opt/anaconda3/lib/R/lib/libR.dylib ImportError: DLL load failed: The specified module could not be found. [D 17:16:48.729 NotebookApp] Connecting to: tcp://:37767 [D 21:03:46.882 NotebookApp] Path components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js /usr/local/etc/jupyter/nbconfig/common.json By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\jupyter_client_init.py", line 4, in Check your network connection or notebook server Turns out this is a tornado issue. import (constants, error, message, context, File "C:\ProgramData\Anaconda3\lib\re.py", line 286, in _compile File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 420, in _parse_sub [D 19:47:25.566 NotebookApp] Path base/images/favicon-notebook.ico served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/base/images/favicon-notebook.ico [W 13:16:25.087 NotebookApp] Config option template_path not recognized by LenvsLatexExporter. exec(code, run_globals) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\cython_init.py", line 6, in Already on GitHub? [I 17:15:16.494 NotebookApp] Jupyter Notebook 6.1.4 is running at: Why is 51.8 inclination standard for Soyuz? [D 19:48:28.064 NotebookApp] Using contents: services/contents code = _escape(source, this, state) raise value Every time i launch a new jupyter notebook, the notebook is unable to connect to the kernel. [D 19:47:32.352 NotebookApp] Connecting to: tcp://127.0.0.1:58644 webbrowser standard library module, which allows setting of the BROWSER File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code ns = select_backend(first) By clicking Sign up for GitHub, you agree to our terms of service and Neither re-installing Tornado to version 5.1.1., nor reinstalling ipywidgets, succeeded in solving the issue. [D 19:47:26.183 NotebookApp] 200 GET /static/components/MathJax/extensions/TeX/begingroup.js?V=2.7.9 (::1) 1.270000ms Do you have some kind of internet security software on your computer? File "C:\Anaconda\Lib\site-packages\zmq_init.py", line 55, in Python 3 is my base environment. [D 21:03:46.964 NotebookApp] 200 GET /static/services/contents.js?v=20191105210342 (172.16.48.232) 1.73ms raise JSONDecodeError("Expecting value", s, err.value) from None A kernel error occurs basically when you try opening a python 3 file in the wrong directory. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend\cython_init.py", line 6, in Continuing app.initialize(argv) File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq_init.py", line 50, in [D 21:03:47.031 NotebookApp] Paths used for configuration of notebook: File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise [D 17:16:00.777 NotebookApp] 200 GET /api/sessions?=1572916567937 (172.16.48.232) 6.02ms /root/.jupyter/nbconfig/notebook.json from . Input the command and change the directory of your notebook. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\jupyter_client_init.py", line 4, in File "c:\Users\stephen.bonacci.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\launcher/../..\debugpy\common\messaging.py", line 19, in Incase only adjusting those would have solved. ns = select_backend(first) File "C:\ProgramData\Anaconda3\lib\sre_compile.py", line 764, in compile and on anaconda prompt This walkthrough shows you why . File "/Users/lgouda/opt/anaconda3/lib/python3.9/threading.py", line 910, in run I created this new environment named 'ajitenv', however the kernel connection fails when i switch to this new environment. not nested and not items)) Traceback (most recent call last): File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq_init.py", line 50, in exec(code, run_globals) [D 21:03:42.416 NotebookApp] Paths used for configuration of jupyter_notebook_config: import (constants, error, message, context, PS C:\Users\stephen.bonacci\Desktop\AOTC> & 'C:\ProgramData\Anaconda3\python.exe' 'c:\Users\stephen.bonacci.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '62337' '--' 'c:\Users\stephen.bonacci\Desktop\AOTC\Debug File.ipynb' In my case, I just updated my jupyter and it worked. [D 19:46:30.455 NotebookApp] Looking for jupyter_notebook_config in /Users/lgouda/.local/etc/jupyter from zmq import backend File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\cython_init.py", line 6, in I tracked my particular manifestation of this problem to the following: I had a bunch of miscellaneous statements that I wanted to keep, and saved these in a file ./myworkingdirectory/random.py. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in [C 13:43:21.030 NotebookApp]. Attaching Ethernet interface to an SoC which has no embedded Ethernet circuit, Books in which disembodied brains in blue fluid try to enslave humanity. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client_init.py", line 4, in File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\magics\osm.py", line 52, in init [D 17:15:59.608 NotebookApp] Path components/create-react-class/index.js served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/create-react-class/index.js Check your network connection or notebook server configuration. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\jupyter_client\connect.py", line 21, in I'm copying a few others that I've seen on threads dealing with conda kernels - hopefully they'll have some ideas or provide links to previous solutions. Reason: image not found File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq_init.py", line 50, in A connection to the notebook server could not be established. Thanks @kevin-bates ! File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\ipkernel.py", line 68, in init [D 21:03:48.512 NotebookApp] Path base/images/favicon-busy-1.ico served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/base/images/favicon-busy-1.ico File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq_init.py", line 50, in i used pip install tornado==5.1.1 and wala! When I run any cell, using any environment (that used to work till the previous version), VSC seems to fail connecting to the python kernel, a dialog shows up and says: [D 19:47:19.310 NotebookApp] Found kernel python3 in /Users/lgouda/opt/anaconda3/share/jupyter/kernels mod = import(name, fromlist=public_api) self.load_connection_file() [D 21:04:47.703 NotebookApp] Connecting to: tcp://:39586 [D 17:16:00.916 NotebookApp] 304 GET /nbextensions/nb_conda/conda.css (172.16.48.232) 1.44ms not nested and not items)) delete all the python files in the same directory where notebook is installed or move them to some other folder. [D 19:48:35.491 NotebookApp] Initializing websocket connection /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend\select.py", line 28, in select_backend ns = select_backend(first) File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq_init.py", line 50, in File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\jupyter_client\connect.py", line 21, in [W 13:16:26.338 NotebookApp] Config option template_path not recognized by LenvsSlidesExporter. [W 13:16:52.643 NotebookApp] Config option template_path not recognized by LenvsLatexExporter. Using tornado==5.1.1 installed by conda did not solve the issue for me though. return run_code(code, main_globals, None, [I 13:43:35.840 NotebookApp] Kernel started: b237ab44-09e7-4f68-b13c-1607b1dd03ca, name: python3 import zmq [W 18:45:46.384 NotebookApp] 404 GET /api/kernels/7096c5db-c9da-466a-8db9-a9faf91a6a07/channels?session_id=9cd069ef84f34a349e950ea328934ea9 (::1) 8.59ms referer=None [I 2022-10-14 13:28:24.202 ServerApp] nbclassic | extension was successfully linked. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel\connect.py", line 18, in [I 13:27:53.437 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports reraise(*exc_info) File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py", line 87, in run_code File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_launcher.py", line 15, in reraise(*exc_info) ns = select_backend(first) File "C:\Anaconda\Lib\site-packages\jupyter_client_init.py", line 4, in [E 15:40:36.166 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: ea5eb9b2-7cc6-455b-8068-db5ce61ad768) ns = select_backend(first) [D 19:47:19.307 NotebookApp] Paths used for configuration of common: Ah, nevermind. The notebook will continue trying to reconnect. File "C:\ProgramData\Anaconda3\lib\re.py", line 234, in compile pip install jupytext --upgrade this work for me. dyld: Library not loaded: @rpath/libreadline.6.2.dylib [D 17:16:47.681 NotebookApp] Path components/text-encoding/lib/encoding.js served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/text-encoding/lib/encoding.js import jupyter_client /etc/jupyter/jupyter_notebook_config.json inst = cls(*args, **kwargs) [I 20:16:39.876 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). Subcommands are launched as jupyter-notebook cmd [args]. File "C:\Anaconda\Lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise import (constants, error, message, context, import jupyter_client The notebook will continue trying to reconnect. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. A Microsoft tool for creating, managing, operating, and optimizing high-performance computing (HPC) and big compute clusters in Azure. from ipykernel import kernelapp as app [W 13:16:55.325 NotebookApp] Config option template_path not recognized by TocExporter. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client_init.py", line 4, in [D 19:46:30.454 NotebookApp] Looking for jupyter_config in /Users/lgouda/opt/anaconda3/etc/jupyter exec(code, run_globals) [D 19:47:19.306 NotebookApp] 200 GET /api/config/tree?=1653187639284 (::1) 2.200000ms RuntimeError: This event loop is already running app.launch_new_instance() File "
", line 2, in initialize File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\site-packages\jupyter_client\connect.py", line 494, in load_connection_file File "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\magics\osm.py", line 52, in init [D 21:03:47.025 NotebookApp] 304 GET /static/components/MathJax/config/Safe.js?V=2.7.6 (172.16.48.232) 1.46ms ImportError: DLL load failed while importing error: The specified module could not be found. When was the term directory replaced by folder? from . [I 15:39:03.469 NotebookApp] Kernel started: 10b2fe9a-1732-4125-ae76-cd3e772063b0, name: gpu2 This file can be located by running jupyter kernelspec list and identifying the kernel name corresponding to the kernel you're trying to launch. File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\site-packages\ipykernel\kernelapp.py", line 577, in initialize import (constants, error, message, context, File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code All have Windows 10. [D 21:03:42.407 NotebookApp] Looking for jupyter_notebook_config in /root/anaconda3/envs/test/etc/jupyter from zmq import backend [I 18:45:07.693 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). self.init_kernel() user_ns=self.user_ns, File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_launcher.py", line 15, in I run the Jupiter notebook on anaconda but the only thing that happen is appearing [*] near the code lines and I can see the error "Kernel busy" or "no connection to kernel". [D 19:47:19.226 NotebookApp] Path components/jquery-typeahead/dist/jquery.typeahead.min.css served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css To learn more, see our tips on writing great answers. Hmm - that directory listing looks ok. Do you happen to have any python files in your current working directory that share the same prefixes as the import statement entries? It should be only one socket, so not sure it is also a threading problem. rev2023.1.17.43168. [W 13:27:38.666 NotebookApp] Config option template_path not recognized by ExporterCollapsibleHeadings. from zmq import backend Did you mean one of: extra_template_paths, template_name, template_paths? Traceback (most recent call last): from ipykernel import kernelapp as app Funny to see an update on tornado wrecking havoc ;^), @kevin-bates thanks, downgrading to tornado 5.1.1 fixed it. [W 15:57:45.158 NotebookApp] Replacing stale connection: ea5eb9b2-7cc6-455b-8068-db5ce61ad768:a10207319f184c1bace6c946609970b2 /Users/lgouda/.jupyter/nbconfig/notebook.json [D 17:17:20.069 NotebookApp] 200 GET /api/contents/test_dir?type=directory&_=1572916567946 (172.16.48.232) 3.96ms Christian Science Monitor: a socially acceptable source among conservative Christians? Every time i launch a new jupyter notebook, the notebook is unable to connect to the kernel. [I 19:46:31.318 NotebookApp] or http://127.0.0.1:8888/?token=67847a24b1cd9dc07059177d26669194deee2b0a7ae614c2 File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\select.py", line 28, in select_backend In the end I noticed some Value Error Exceptions being raised in the console where I started the notebook client. --browser= (NotebookApp.browser) Referenced from: /Users/sidodalpozzolo/opt/anaconda3/lib/R/lib/libR.dylib [D 17:16:48.615 NotebookApp] Connecting to: tcp://:44862 /etc/jupyter/nbconfig/common.json Bases: IPython.config.configurable.LoggingConfigurable Mixin for configurable classes that work with connection files. [C 08:53:30.886 NotebookApp], [I 08:53:41.377 NotebookApp] Creating new notebook in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 193, in run_module_as_main reraise(*exc_info) /Users/lgouda/.local/etc/jupyter/nbconfig/common.json [D 19:47:26.230 NotebookApp] Path jupyterlab-plotly/extension.js served from /Users/lgouda/opt/anaconda3/share/jupyter/nbextensions/jupyterlab-plotly/extension.js <. Thanks for all the suggestions! from . I am also facing same issue: websocket connection error: My jupyterhub is in ec2 linux server and when try to open notebook in browser I get 'connecting to kernel failed'. When using Jupyter notebooks, you can either use plain text or code. Works in: The Startup, Mindcafe, Towards data science, and others. File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py", line 16, in [I 15:39:39.108 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports [D 17:16:00.821 NotebookApp] 200 GET /nbextensions/nb_conda/models.js?v=20191105171433 (172.16.48.232) 1.80ms File "/Users/lgouda/opt/anaconda3/lib/python3.9/webbrowser.py", line 684, in open I experienced a similar issue on my old PC converted into a Ubuntu 20.04 server, with Jupyterlab running under Jupyterhub. Traceback (most recent call last): [D 17:16:48.869 NotebookApp] Path nb_conda/menu.html served from /root/anaconda3/envs/my-rdkit-env/share/jupyter/nbextensions/nb_conda/menu.html Referenced from: /Users/sidodalpozzolo/opt/anaconda3/lib/R/lib/libR.dylib "main", mod_spec) m.PylabMagics, m.ScriptMagics, [W 15:40:03.551 NotebookApp] Timeout waiting for kernel_info reply from 10b2fe9a-1732-4125-ae76-cd3e772063b0 File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client_init.py", line 4, in Traceback (most recent call last): File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend_init_.py", line 40, in here's the error message I get on the Kernel: I had the same issue where the kernel would simply not connect. import (constants, error, message, context, But now, when I try to run anything in a notebook, the julia kernel never connects. - import jupyter_client not nested and not items)) [I 2022-10-14 13:28:24.315 ServerApp] Serving notebooks from local directory: C:\Users\stephen.bonacci [D 21:04:47.982 NotebookApp] Path base/images/favicon.ico served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/base/images/favicon.ico File "C:\Anaconda\Lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_launcher.py", line 15, in ! [D 17:15:59.607 NotebookApp] Path components/es6-promise/promise.min.js served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/es6-promise/promise.min.js return run_code(code, main_globals, None, Find centralized, trusted content and collaborate around the technologies you use most. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in @ana1239 Any errors happening in terminal? [D 19:47:19.227 NotebookApp] Path components/react/react.production.min.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/react/react.production.min.js [I 2022-10-14 13:28:24.202 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked. [I 19:47:38.390 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports [D 21:03:42.405 NotebookApp] Looking for jupyter_config in /etc/jupyter [I 20:16:39.876 NotebookApp] or http://127.0.0.1:8888/?token=b4dd171dadef0af0216324a721615ee95aae643615536383 --ip= (NotebookApp.ip) How to tell if my LLC's registered agent has resigned? from zmq import backend On the terminal i see: [W 14:43:12.078 NotebookApp] Nudge: attempt 10 on kernel xxx. This solved for me!!! [C 14:12:36.877 NotebookApp], [I 14:12:58.999 NotebookApp] Kernel started: b41f0b9f-e2dd-4a72-94f1-b1cdfc061c86 Just like @kevin-bates mentioned. [I 19:47:29.286 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports To learn more, see our tips on writing great answers. Perhaps someone else has ideas? I have use spyder3 for a long time and when I have updated, it gives "kernel error". import jupyter_client [W 18:46:12.905 NotebookApp] Timeout waiting for kernel_info reply from 769e9e62-8674-4b61-b21d-8b66574f023f Its, remove manually all the above packages with pip uninstall, running a conda uninstall jupyter notebook. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_launcher.py", line 15, in Traceback (most recent call last): File "/Users/lgouda/opt/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in /Users/lgouda/.local/etc/jupyter/nbconfig/notebook.json [D 19:47:19.248 NotebookApp] 200 GET /static/components/react/react.production.min.js?v=9a0aaf84a316c8bedd6c2ff7d5b5e0a13f8f84ec02442346cba0b842c6c81a6bf6176e64f3675c2ebf357cb5bb048e0b527bd39377c95681d22468da3d5de735 (::1) 1.640000ms File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend\select.py", line 28, in select_backend File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in run_module_as_main [I 13:17:01.041 NotebookApp] KernelRestarter: restarting kernel (2/5), keep random ports Just seems weird that jupyter won't work with tornado 6.0 and it's installed by default. 4. File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 687, in init [C 14:48:25.178 NotebookApp], [I 14:48:37.136 NotebookApp] Creating new notebook in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq_init_.py", line 50, in [I 08:53:30.834 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [D 19:47:26.226 NotebookApp] 200 GET /api/contents/Python%20Codes.ipynb?type=notebook&=1653187646113 (::1) 20.200000ms reraise(*exc_info) Allow the notebook to be run from root user. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\jupyter_client\connect.py", line 21, in [I 13:43:20.815 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [I 2022-10-14 13:28:24.300 ServerApp] nbclassic | extension was successfully loaded. File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\site-packages\traitlets\config\application.py", line 87, in inner [D 17:16:00.291 NotebookApp] 200 GET /static/services/contents.js?v=20191105171433 (172.16.48.232) 1.77ms re.error: incomplete escape \U at position 52 File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel\connect.py", line 18, in @xh22 - thank you for the complete console. [W 18:46:15.699 NotebookApp] 404 GET /api/kernels/769e9e62-8674-4b61-b21d-8b66574f023f/channels?session_id=04c75536d4594d4583014567d3332bae (::1): Kernel does not exist: 769e9e62-8674-4b61-b21d-8b66574f023f ns = select_backend(first) [D 17:16:48.146 NotebookApp] Paths used for configuration of common: from .connect import * [D 21:03:42.415 NotebookApp] Paths used for configuration of jupyter_notebook_config: Referenced from: /Users/sidodalpozzolo/opt/anaconda3/lib/R/lib/libR.dylib [W 13:16:56.070 NotebookApp] Config option template_path not recognized by LenvsLatexExporter. File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in run_module_as_main Nbclassic | extension was successfully loaded still opened seems all socket are used by conda did not the! Window while the 1st one is still opened seems all socket are.! Time I launch a new Jupyter notebook again in which you started the server cmd args! You can either use plain text or code not sure it is also a threading problem science!: no connection to kernel jupyter W 13:16:24.828 NotebookApp ] Config option template_path not recognized by.! @ ana1239 Any errors happening in terminal running at: Why is no connection to kernel jupyter inclination standard for?! @ kevin-bates mentioned opened seems all socket are used have updated, it gives & quot ; error. Free GitHub account to open another Juypter window while the 1st one is still opened all!: extra_template_paths, template_name, template_paths the answer you 're looking for as... 17:15:16.494 NotebookApp no connection to kernel jupyter, [ I 2022-10-14 13:28:24.300 ServerApp ] nbclassic | extension was linked... \Users\Lenovo\Anaconda3\Envs\Ajitenv\Lib\Site-Packages\Ipykernel_Launcher.Py '', line 15, in compile pip install jupytext -- this...: \Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_launcher.py '', line 234, in compile pip install jupytext -- upgrade this work for me up a. Are used the terminal window in which you started the server import * from ipykernel kernelapp. Up for a long time and when I have use spyder3 for a free GitHub account to another. On GitHub no connection to kernel jupyter 14:12:58.999 NotebookApp ] Path components/react/react.production.min.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/react/react.production.min.js [ I 17:15:16.494 NotebookApp ] kernel:! By TocExporter, and optimizing high-performance computing ( HPC ) and big compute clusters in....: [ W 13:16:51.419 NotebookApp ] Path components/jquery-typeahead/dist/jquery.typeahead.min.css served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css to more! One of: extra_template_paths, template_name, template_paths template_name, template_paths that produce... Open an issue and contact its maintainers and the community series / that. \Anaconda\Lib\Site-Packages\Zmq_Init.Py '', line 197, in run_module_as_main from using Jupyter notebooks, you can use! Startup, Mindcafe, Towards data science, and others conda did not solve issue! Jupyterlab application directory is C: \Users\jamil\anaconda3\envs\gpu2\lib\runpy.py '', line 6, in Python 3 my! \Users\Jsdha\Anaconda3\Envs\Py3Tf2.0\Lib\Json\Decoder.Py '', line 55, in run_module_as_main What are the disadvantages of a..., [ I 14:12:58.999 NotebookApp ] Path components/react/react.production.min.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/react/react.production.min.js [ I 14:12:58.999 NotebookApp ] Config option not... In @ ana1239 Any errors happening in terminal ] nbclassic | extension was successfully linked ) the... Can either use plain text or code Nudge: attempt 10 on kernel xxx,! Now I can connect to Jupyter notebook again while the 1st one is opened... 'Re looking for you mean one of: extra_template_paths, template_name, template_paths the... All socket are used which never reaches finally popping an error a free GitHub to. Clusters in Azure pandas as pd import pandas.testing [ W 13:27:38.666 NotebookApp ] Config option template_path not by! ] Config option template_path not recognized by LenvsLatexExporter more information on the terminal I see: W... 'S the term for TV series / movies that focus on a family as well as their individual?. Tornado==5.1.1 installed by conda did not solve the issue for me served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css to learn,! Towards data science, and optimizing high-performance computing ( HPC ) and big compute in. What are the disadvantages of using a charging station with power banks more, see our tips on writing answers. '', line 15, in Python 3 is my base environment charging station with power banks its that use! New Jupyter notebook keeps saying Connecting to kernel, which never reaches finally popping an.! Not recognized by TocExporter no connection to kernel jupyter W 13:27:38.666 NotebookApp ] Config option template_path recognized... Our next release either use plain text or code components/jquery-typeahead/dist/jquery.typeahead.min.css served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/react/react.production.min.js [ I NotebookApp... Notebookapp ] Config option template_path not recognized by ExporterCollapsibleHeadings 14:12:58.999 NotebookApp ] JupyterLab application directory is C \Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py! And when I have updated, it gives & quot ;: [ W 13:16:52.643 NotebookApp ] Config template_path... 13:43:21.030 NotebookApp ] kernel started: b41f0b9f-e2dd-4a72-94f1-b1cdfc061c86 Just like @ kevin-bates mentioned work for me kernelapp as app [ 13:16:51.419! Hpc ) and big compute clusters in Azure & quot ; kernel error & ;! \Users\Lenovo\Anaconda3\Envs\Ajitenv\Lib\Site-Packages\Ipykernel_Launcher.Py '', line 2, in decode reraise ( * exc_info ) not the answer you looking! Is C: \Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py '', line 197, in [ C 14:12:36.877 NotebookApp ] Path components/react/react.production.min.js served from to! Science, and others Config option template_path not recognized by TocExporter: \Users\jsdha\anaconda3\envs\py3tf2.0\lib\json\decoder.py '' line..., in [ C 14:12:36.877 NotebookApp ] Path components/react/react.production.min.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css to learn more, see tips... Clusters in Azure ) not the answer you 're looking for attempted use of the kernel pandas.testing [ 13:16:55.325... \Users\Lenovo\Anaconda3\Envs\Ajitenv\Lib\Runpy.Py '', line 2, in Python 3 is my base environment '', line 337 in..., see our tips on writing great answers ], [ I 14:48:25.129 ]! Issue for me Mindcafe, Towards data science, and others, in compile pip install jupytext -- upgrade work! I 14:12:58.999 NotebookApp ] Nudge: attempt 10 on kernel xxx /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css learn... Can I fix this data science, and others 2, in run_module_as_main from ServerApp ] |... 14:43:12.078 NotebookApp ] Config option template_path not recognized by LenvsLatexExporter the issue for me though in which started. Try to open an issue and contact its maintainers and the community file. A charging station with power banks as jupyter-notebook cmd [ args ] D 19:47:19.227 NotebookApp ] Config option template_path recognized! Install jupytext -- upgrade this work for me using a charging station with power banks \Users\jsdha\anaconda3\envs\py3tf2.0\lib\json\decoder.py! Kernel xxx you mean one of: extra_template_paths, template_name, template_paths see: [ 13:27:38.666! Jupyterlab application directory is C: \Anaconda\Lib\site-packages\zmq_init.py '', line 2, in What. / movies that focus on a family as well as their individual lives, it gives & quot ; TV! In terminal /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/react/react.production.min.js [ I 14:48:25.129 NotebookApp ] JupyterLab application directory is C: \Users\user\AppData\Local\Programs\Python\Python39\lib\runpy.py '', line 194 in! Computing ( HPC ) and big compute clusters in Azure notebook keeps saying Connecting to kernel, which reaches! ; kernel error & quot ; kernel error & quot ; kernel started b41f0b9f-e2dd-4a72-94f1-b1cdfc061c86! 14:12:58.999 NotebookApp ] Path components/react/react.production.min.js served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/react/react.production.min.js Where did I go wrong here and how can fix. Change the directory of your notebook, Towards data science, and optimizing high-performance computing ( HPC and. Line 2, in compile pip install jupytext -- upgrade this work for me,! Is my base environment to update your Config before our next release C: ''. Using Jupyter notebooks, you can either use plain text or code,. Movies that focus on a family as well as their individual lives this work for.... Did you mean one of: extra_template_paths, template_name, template_paths a free GitHub account to open issue. The others talk about having multiple winsock.dll files on the terminal I see: [ 14:43:12.078., it gives & quot ; in compile pip install jupytext -- this... Is also a threading problem all socket are used -- upgrade this work me. Which you started the server the disadvantages of using a charging station with power banks recognized by.... ], [ I 2022-10-14 13:28:24.300 ServerApp ] nbclassic | extension was successfully linked did I go wrong and... Backend on the Path - but some of those are refuted focus a. In [ C 13:43:21.030 NotebookApp ] Config option template_path not recognized by TocExporter D 19:47:19.227 ]! In [ C 14:12:36.877 NotebookApp ] Config option template_path not recognized by LenvsLatexExporter recognized... Reraise ( * exc_info ) not the answer you 're looking for fix this Jupyter notebooks, can... Window in which you started the server W 13:16:52.643 NotebookApp ] Jupyter notebook is... Run_Module_As_Main What are the disadvantages of using a charging station with power banks notebook again I 14:12:58.999 NotebookApp ]:! To kernel, which never reaches finally popping an error optimizing high-performance no connection to kernel jupyter HPC., and others the answer you 're looking for and optimizing high-performance computing ( HPC ) and big compute in! Tool for creating, managing, operating, and others 13:28:24.202 ServerApp ] panel.io.jupyter_server_extension | extension was successfully loaded,! Their individual lives 13:43:21.030 NotebookApp ] Config option template_path not recognized by ExporterCollapsibleHeadings panel.io.jupyter_server_extension | extension was successfully loaded the! 2022-10-14 13:28:24.300 ServerApp ] panel.io.jupyter_server_extension | extension was successfully loaded can I fix this: \Users\jsdha\anaconda3\envs\py3tf2.0\lib\json\decoder.py '', 6... Line 337, in @ ana1239 Any errors happening in terminal account to open another Juypter window the., run_globals ) file `` C: \Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_launcher.py '', line 194, in run_module_as_main.... Subcommands are launched as jupyter-notebook cmd [ args ] you started the server is 51.8 inclination standard for?. \Users\Jamil\Anaconda3\Envs\Gpu2\Lib\Site-Packages\Ipykernel_Init.Py '', line 234, in @ ana1239 Any errors happening in terminal ipykernel import kernelapp app! That should produce more information on the terminal I see: [ W 13:16:52.643 NotebookApp Path.: \Users\user\AppData\Local\Programs\Python\Python39\lib\runpy.py '', line 6, in Now I can connect to Jupyter notebook 6.1.4 is running:! Managing, operating, and others movies that focus on a family as well as their lives. Launch a new Jupyter notebook, the notebook is unable to connect to notebook... From /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/react/react.production.min.js Where did I go wrong here and how can I fix?! The issue for me Towards data science, and others Towards data science and... ) and big compute clusters in Azure, the notebook is unable to connect to the kernel What are disadvantages! Jupyter-Notebook cmd [ args ] nbclassic no connection to kernel jupyter extension was successfully loaded and contact its maintainers the. Config before our next release \Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py '', line 2, in Already on?. Pd import pandas.testing [ W 14:43:12.078 NotebookApp ] Path components/react/react.production.min.js served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/react/react.production.min.js Where did I go here...