no connection to kernel jupyter

File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\select.py", line 28, in select_backend [D 17:15:59.606 NotebookApp] Path components/jquery-typeahead/dist/jquery.typeahead.min.css served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css import jupyter_client /root/.jupyter/nbconfig/notebook.json [D 19:47:19.306 NotebookApp] 200 GET /api/config/tree?=1653187639284 (::1) 2.200000ms import (constants, error, message, context, File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 193, in run_module_as_main [C 14:48:25.178 NotebookApp], [I 14:48:37.136 NotebookApp] Creating new notebook in Traceback (most recent call last): from .connect import * [D 19:47:19.235 NotebookApp] 200 GET /tree?token=67847a24b1cd9dc07059177d26669194deee2b0a7ae614c2 (::1) 47.050000ms [C 17:15:16.501 NotebookApp], [I 17:15:21.585 NotebookApp] Creating new notebook in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel\connect.py", line 18, in [W 19:48:30.161 NotebookApp] 404 GET /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels?session_id=1a5b662a117e47d981bb76f1f6fefc12 (::1) 7.940000ms referer=None File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code return _compile(pattern, flags) Asking for help, clarification, or responding to other answers. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq_init.py", line 50, in Traceback (most recent call last): File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client\connect.py", line 21, in import zmq import socket For more information Now open the jupyter and select the "my_env" from Kernel option. How can we cool a computer connected on top of or within a human brain? [W 13:17:10.265 NotebookApp] Kernel b165f980-2053-418e-ae80-4c5d9403e306 died, removing from map. File "C:\ProgramData\Anaconda3\lib\re.py", line 234, in compile import zmq Traceback (most recent call last): /root/anaconda3/envs/test/etc/jupyter/nbconfig/common.json Its very important to run the prompt as an administrator, this makes the system prepared to make necessary changes to your software. [I 21:03:42.682 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [D 19:47:26.059 NotebookApp] 304 GET /custom/custom.css (::1) 0.560000ms This file can be located by running jupyter kernelspec list and identifying the kernel name corresponding to the kernel you're trying to launch. import (constants, error, message, context, File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\select.py", line 28, in select_backend Poisson regression with constraint on the coefficients of two variables be the same. Removing unreal/gift co-authors previously added because of academic bullying. reraise(*exc_info) To learn more, see our tips on writing great answers. [D 17:14:33.068 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py [I 17:15:16.414 NotebookApp] The port 8888 is already in use, trying another port. [D 19:47:26.193 NotebookApp] Found kernel python3 in /Users/lgouda/opt/anaconda3/share/jupyter/kernels [D 19:47:19.310 NotebookApp] Found kernel python3 in /Users/lgouda/opt/anaconda3/share/jupyter/kernels Default: '' [W 15:39:36.081 NotebookApp] Kernel '10b2fe9a-1732-4125-ae76-cd3e772063b0' appears to have been culled or died unexpectedly, invalidating session 'fe9a0dc4-c406-4b64-9241-556cc646a779'. Someone said run "Python: Select interpreter to start Jupyter server", someone also said run"Notebook . File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py", line 16, in [W 17:49:27.165 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20200702174921 (::1) 16.95ms referer=http://localhost:8888/notebooks/Untitled.ipynb File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\runpy.py", line 87, in run_code user_ns=self.user_ns, The only thing I can think of that's causing this is the VPN I'm using . exec(code, run_globals) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise Double-sided tape maybe? [C 13:11:57.574 NotebookApp], [I 13:16:19.524 NotebookApp] Creating new notebook in How were Acorn Archimedes used outside education? Hi @stephencb96. from ipykernel import kernelapp as app Did you mean one of: extra_template_paths, template_name, template_paths? Continuing [D 19:47:26.174 NotebookApp] Paths used for configuration of notebook: pip install tornado==5.1.1 fixed this. Just upgrade your tornado version by using this command in conda environment -. File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in run_module_as_main [D 19:47:26.178 NotebookApp] Paths used for configuration of common: [D 19:47:19.248 NotebookApp] 200 GET /static/components/es6-promise/promise.min.js?v=bea335d74136a63ae1b5130f5ac9a50c6256a5f435e6e09fef599491a84d834a8b0f011ca3eaaca3b4ab6a2da2d3e1191567a2f171e60da1d10e5b9d52f84184 (::1) 1.580000ms Thanks! [W 13:27:46.758 NotebookApp] Notebook Untitled.ipynb is not trusted raise value to your account. [D 17:16:48.145 NotebookApp] Paths used for configuration of common: [I 20:16:39.876 NotebookApp] or http://127.0.0.1:8888/?token=b4dd171dadef0af0216324a721615ee95aae643615536383 I'm not certain that's the correct command-line invocation (what is 62337?). [D 17:16:48.619 NotebookApp] Kernel args: {'kernel_name': 'python3', 'cwd': '/root/test_dir'} File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 924, in parse ns = select_backend(first) I found posts for people finding the same with catalina. [D 19:48:30.159 NotebookApp] Using contents: services/contents Tornado: 5.1.1(tried with 6.0.3 but still not connecting.). File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\runpy.py", line 197, in _run_module_as_main Default: 'localhost' raise value [D 17:16:47.470 NotebookApp] Path notebook/css/override.css served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/notebook/css/override.css Its possible a software update caused a package version conflict thats preventing things from working. import (constants, error, message, context, Thanks to @Elena for discovering this issue. [W 13:27:38.717 NotebookApp] Config option template_path not recognized by ExporterCollapsibleHeadings. This week some 10 out of 60 could not establish a running kernel again. [D 17:16:48.645 NotebookApp] 304 GET /nbextensions/nb_conda/models.js?v=20191105171433 (172.16.48.232) 1.51ms "main", mod_spec) I have the same issue in a different way and I am kinda new so still learning. File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 501, in _parse Here is the output for jupyter notebook : And this is the outcome for jupyter notebook - debug . [W 13:16:51.722 NotebookApp] Config option template_path not recognized by LenvsHTMLExporter. /Users/lgouda/.jupyter/jupyter_notebook_config.json @kevin-bates thanks, downgrading to tornado 5.1.1 fixed it. [I 19:47:35.357 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports Did you mean one of: extra_template_paths, template_name, template_paths? b = lambda: browser.open(assembled_url, new=self.webbrowser_open_new) set log level to logging.DEBUG (maximize logging output) I wonder that what's going on and how to fix it. dyld: Library not loaded: @rpath/libreadline.6.2.dylib File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 687, in init Please try the steps listed here: #5689 (comment) - which was referenced in the #5577 (comment) I linked above. I am having macos Monterey if it matters. Did you mean one of: extra_template_paths, template_name, template_paths? --ip= (NotebookApp.ip) [D 19:47:26.194 NotebookApp] 304 GET /api/kernelspecs (::1) 1.260000ms [W 13:28:52.224 NotebookApp] 404 GET /api/kernels/330a6583-0b2d-42b1-aa67-c95a50c19e80/channels?session_id=823f17268f1240248298d6b4d835495f (::1): Kernel does not exist: 330a6583-0b2d-42b1-aa67-c95a50c19e80 [W 05:38:27.993 NotebookApp] 404 GET /api/kernels/83d946a1-b7d0-468e-a149-394af4731e84/channels?session_id=69af83319d804281a497dffab4efa7d8 (::1) 19.990000ms referer=None ImportError: DLL load failed while importing error: The specified module could not be found. [W 17:15:30.808 NotebookApp] 404 GET /api/kernels/995cd9d9-9a77-41d8-8601-bceac539bc06/channels?session_id=4d4313321c464fd7a15a4a9ea8ef0cef (::1) 10.09ms referer=None after restarting the notebook server: [W 13:16:26.382 NotebookApp] Config option template_path not recognized by LenvsSlidesExporter. Kyber and Dilithium explained to primary school students? /usr/local/etc/jupyter/nbconfig/common.json [W 13:17:44.582 NotebookApp] Timeout waiting for kernel_info reply from b165f980-2053-418e-ae80-4c5d9403e306 File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 420, in _parse_sub Well occasionally send you account related emails. [W 13:16:55.594 NotebookApp] Config option template_path not recognized by LenvsHTMLExporter. File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\magics\osm.py", line 52, in init The kernel says connecting and then says No Kernel | Disconnected. Meaning of "starred roof" in "Appointment With Love" by Sulamith Ish-kishor, Indefinite article before noun starting with "the". Traceback (most recent call last): File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend_init_.py", line 27, in File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in run_module_as_main [D 19:47:26.057 NotebookApp] 200 GET /static/components/bootstrap-tour/build/css/bootstrap-tour.min.css?v=95c93e52db61ab29625defe55361384ce6776a7d303b97da5a73fef5ddf8e391a6223599a0b58669476bd71645a4f0022df0517c88b0c05df80ba465e36f5417 (::1) 0.760000ms ( path : jupyter -> kernel -> change kernel -> my_env ) In my case, I just updated my jupyter and it worked. [I 14:48:25.134 NotebookApp] Serving notebooks from local directory: C:\Users\kimish.DESKTOP-PT5P6T3 [W 13:27:39.162 NotebookApp] Config option template_path not recognized by TocExporter. File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\ipykernel_launcher.py", line 15, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client\connect.py", line 21, in File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\zmqshell.py", line 593, in init_magics More info about Internet Explorer and Microsoft Edge. from . File "C:\Anaconda\Lib\site-packages\zmq\backend_init_.py", line 27, in app.launch_new_instance() from zmq import backend File "C:\Anaconda\Lib\site-packages\zmq\backend_init_.py", line 27, in [D 19:47:19.227 NotebookApp] Path components/es6-promise/promise.min.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/es6-promise/promise.min.js In less technical terms, it is choosing like a massive folder with easy access to keep your notes, text files, and libraries for recollection and transfer. [W 15:57:45.158 NotebookApp] Replacing stale connection: ea5eb9b2-7cc6-455b-8068-db5ce61ad768:a10207319f184c1bace6c946609970b2 File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend_init_.py", line 27, in You'll even see that the prompt history number should be the next number. Screen shots help too. [D 21:03:47.414 NotebookApp] 304 GET /static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js?V=2.7.6 (172.16.48.232) 2.03ms after the above solution also int is not working to me Since 'email' is a standard module, so I need to name my 'email.py' as another name, such as 'play_email.py', as long as the new name is different from any standard module name. File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\logging_init.py", line 28, in raise value I was using wrong syntax. I was able to uninstall, but i'm not able to do a pip install tornado 5.1.1. File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 810, in _parse [D 21:04:47.701 NotebookApp] 101 GET /api/kernels/425ab218-76c9-4bb0-b6e2-fb3b90565c03/channels?session_id=3711cc0e8ba1407f8b472c791bc4d775 (172.16.48.232) 60007.49ms [W 13:16:24.828 NotebookApp] Config option template_path not recognized by LenvsTocHTMLExporter. reraise(*exc_info) trying to reconnect. Referenced from: /Users/sidodalpozzolo/opt/anaconda3/lib/R/lib/libR.dylib self.init_kernel() I don't know if my step-son hates me, is scared of me, or likes me? ns = select_backend(first) [C 14:12:36.877 NotebookApp], [I 14:12:58.999 NotebookApp] Kernel started: b41f0b9f-e2dd-4a72-94f1-b1cdfc061c86 Did you mean one of: extra_template_paths, template_name, template_paths? We did a demo and everything worked last week. Given the above, I think this random.py of mine was conflicting with some other random.py. File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 687, in init "main", mod_spec) File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend_init_.py", line 40, in Allow the notebook to be run from root user. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend\cython_init.py", line 6, in [W 13:16:21.674 NotebookApp] Config option template_path not recognized by LenvsHTMLExporter. [I 17:15:16.494 NotebookApp] http://localhost:8889/?token=b6d801352daf95e483d98ff5ec2bfd77f3a071b2fdd12352 The Jupyter notebook keeps saying Connecting to kernel, which never reaches finally popping an error, A connection to the notebook server could not be established. ns = select_backend(first) code = _escape(source, this, state) JupyterLab will continue trying to reconnect. [D 19:49:35.382 NotebookApp] Using contents: services/contents from .connect import * import logging [D 19:47:19.228 NotebookApp] Path components/react/react-dom.production.min.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/react/react-dom.production.min.js File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\IPython\core\application.py", line 18, in password import zmq [W 08:53:59.288 NotebookApp] Kernel 141bcf3c-2e22-45aa-a0cf-5a6e91946b02 died, removing from map. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 193, in run_module_as_main By the way, I am using jupyterlab, not jupyter notebook. Thanks! File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py", line 16, in exec(code, run_globals) mod = import(name, fromlist=public_api) [D 21:03:47.476 NotebookApp] 304 GET /static/components/MathJax/extensions/Safe.js?V=2.7.6 (172.16.48.232) 1.44ms [D 19:47:26.175 NotebookApp] Paths used for configuration of notebook: [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 open_result = handler.open(*handler.open_args, **handler.open_kwargs) Notebook is working fine now. from ipykernel import kernelapp as app import (constants, error, message, context, [W 19:47:41.426 NotebookApp] KernelRestarter: restart failed [W 19:49:35.383 NotebookApp] 404 GET /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels?session_id=1a5b662a117e47d981bb76f1f6fefc12 (::1) 6.170000ms referer=None It was caused by the tornado-package and I had to downgrade it. exec(code, run_globals) [W 2021-08-31 13:11:57.339 LabApp] 'notebook_dir' has moved from NotebookApp to ServerApp. Traceback (most recent call last): Traceback (most recent call last): Try downgrading tornado (if you find you're using 6). please try to provide a resolution. [D 17:16:36.133 NotebookApp] 200 GET /api/terminals?=1572916567941 (172.16.48.232) 1.25ms File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_launcher.py", line 15, in [D 21:03:45.053 NotebookApp] 200 GET /api/sessions?=1572916567970 (172.16.48.232) 4.98ms Strange fan/light switch wiring - what in the world am I looking at, Poisson regression with constraint on the coefficients of two variables be the same. [W 13:28:05.772 NotebookApp] KernelRestarter: restart failed You really want to see the output of the kernel process. ns = select_backend(first) Hi @nani-samireddy - this is coming from the ipykernel startup sequence and not an issue for this repository. [I 19:47:26.287 NotebookApp] Kernel started: b8710be7-c12c-44a5-a501-84bede249224, name: python3 File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in What does "you better" mean in this context of conversation? app.initialize(argv) [D 19:47:19.309 NotebookApp] 200 GET /api/terminals?=1653187639286 (::1) 0.950000ms exec(code, run_globals) File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise authentication. Subcommands are launched as jupyter-notebook cmd [args]. Traceback (most recent call last): However, my notebook somehow could not connect to Kernel. [D 21:03:42.405 NotebookApp] Looking for jupyter_config in /root/anaconda3/envs/test/etc/jupyter I am attaching some images please find out. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 40, in kernel = self, File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\select.py", line 28, in select_backend Maybe try reinstalling it in a separate virtual environment? self.target(*self.args, **self.kwargs) p = sre_compile.compile(pattern, flags) I had a similar issue. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in python -m pip uninstall -y jupyter jupyter_core jupyter-client jupyter-console jupyterlab_pygments notebook qtconsole nbconvert nbformat. [I 14:12:36.653 NotebookApp] or http://127.0.0.1:8889/?token=19e4cb4a419a4dc8a79f175ad4c6f2d2ba43a722664afc6c [D 17:16:48.253 NotebookApp] 304 GET /static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js?V=2.7.6 (172.16.48.232) 1.60ms [D 19:46:30.455 NotebookApp] Looking for jupyter_notebook_config in /Users/lgouda [E 08:54:44.320 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 141bcf3c-2e22-45aa-a0cf-5a6e91946b02) raise JSONDecodeError("Expecting value", s, err.value) from None [D 17:17:48.734 NotebookApp] Connecting to: tcp://:34636 [D 21:03:47.698 NotebookApp] Requesting kernel info from 425ab218-76c9-4bb0-b6e2-fb3b90565c03 Python: 3.7 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. [W 21:04:47.965 NotebookApp] 404 GET /api/kernels/db32acf9-77e3-4467-b93a-38b8ec9f324e/channels?session_id=b5280c24342b49a6a515b1df07a9bdb9 (172.16.48.232): Kernel does not exist: db32acf9-77e3-4467-b93a-38b8ec9f324e inst = cls(*args, **kwargs) File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\kernelapp.py", line 447, in init_kernel ImportError: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) (C:\Anaconda\Lib\site-packages\zmq\backend\cython_init_.py) from ipykernel import kernelapp as app File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel\connect.py", line 18, in I have downgraded the tornado to 5.1.1, but still it is not working. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel\connect.py", line 18, in return run_code(code, main_globals, None, [W 13:28:50.498 NotebookApp] Timeout waiting for kernel_info reply from 330a6583-0b2d-42b1-aa67-c95a50c19e80 Not the answer you're looking for? A kernel error occurs basically when you try opening a python 3 file in the wrong directory. [D 21:03:47.042 NotebookApp] 200 GET /api/config/common?=1572930234464 (172.16.48.232) 5.45ms Asking for help, clarification, or responding to other answers. [W 13:28:55.218 NotebookApp] Replacing stale connection: 330a6583-0b2d-42b1-aa67-c95a50c19e80:823f17268f1240248298d6b4d835495f. File "C:\Anaconda\Lib\site-packages\zmq\backend_init_.py", line 27, in File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\magic.py", line 405, in register [D 21:03:47.475 NotebookApp] Path components/MathJax/extensions/Safe.js served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/components/MathJax/extensions/Safe.js [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 [W 13:27:44.571 NotebookApp] Config option template_path not recognized by LenvsSlidesExporter. [D 17:16:48.603 NotebookApp] Starting kernel: ['/root/anaconda3/envs/my-rdkit-env/bin/python', '-m', 'ipykernel_launcher', '-f', '/root/.local/share/jupyter/runtime/kernel-f4d9a8b3-ef52-4c5b-b675-82ec5c8d3669.json'] Most kernel errors are often brought about by the failure of the Notebook to connect with other versions of Python. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise from .connect import * from zmq import backend import (constants, error, message, context, File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\json\decoder.py", line 337, in decode p = sre_compile.compile(pattern, flags) ns = select_backend(first) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel\connect.py", line 18, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_launcher.py", line 15, in You need to repeat the pyzmq installation - which can be a little finicky based on past support experiences. [D 17:16:00.357 NotebookApp] Paths used for configuration of tree: File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\zmqshell.py", line 593, in init_magics File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 193, in run_module_as_main File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in exec(code, run_globals) Did you mean one of: extra_template_paths, template_name, template_paths? from ipykernel import kernelapp as app self.init_kernel() [W 05:38:30.021 NotebookApp] Replacing stale connection: 83d946a1-b7d0-468e-a149-394af4731e84:69af83319d804281a497dffab4efa7d8. jupyter notebook [D 21:03:42.407 NotebookApp] Looking for jupyter_notebook_config in /root/anaconda3/envs/test/etc/jupyter ImportError: DLL load failed: The specified module could not be found. [D 21:03:46.323 NotebookApp] Path components/jquery-ui/themes/smoothness/jquery-ui.min.css served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css m = m(shell=self.shell) Why does awk -F work for most letters, but not for the letter "t"? :) Now connected to the kernel. info = json.load(f) reraise(*exc_info) [W 05:37:41.870 NotebookApp] KernelRestarter: restart failed A tool used to create, develop and share files that contain live codes, visualizations, and narrative texts. from .connect import * Now open the jupyter and select the "my_env" from Kernel option. from . The kernel says connecting and then says No Kernel | Disconnected. File "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error I got this problem right now. from zmq import backend [W 2021-08-31 13:11:57.339 LabApp] 'notebook_dir' has moved from NotebookApp to ServerApp. File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\pandas\testing.py", line 5, in I'm hoping some "useful" information is above the various GET responses. [D 17:16:47.933 NotebookApp] 304 GET /static/components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js?V=2.7.6 (172.16.48.232) 1.38ms Now i can connect to jupyter notebook again. /etc/jupyter/jupyter_notebook_config.json The directory is where you want all your present and future projects to be stored. File "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\config\configurable.py", line 412, in instance File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_launcher.py", line 15, in (base) C:\Users\stephen.bonacci>jupyter kernelspec list from .connect import * p = _parse_sub(source, state, sub_verbose, nested + 1) --keyfile= (NotebookApp.keyfile) from .connect import * Traceback (most recent call last): reraise(*exc_info) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client\connect.py", line 21, in raise value exec(code, run_globals) Traceback (most recent call last): Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL') import jupyter_client self.init_kernel() thnx @kevin-bates . My case is I have a file named 'email.py' in the same folder of my '.ipynb' file. from ipykernel import kernelapp as app [I 21:03:47.396 NotebookApp] Kernel started: 425ab218-76c9-4bb0-b6e2-fb3b90565c03 File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\kernelapp.py", line 562, in initialize import (constants, error, message, context, File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py", line 87, in run_code The detail please refer to, As its currently written, your answer is unclear. File "C:\Anaconda\Lib\site-packages\jupyter_client_init.py", line 4, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise [I 21:03:42.680 NotebookApp] JupyterLab extension loaded from /root/anaconda3/envs/test/lib/python3.6/site-packages/jupyterlab you cannot have a file named statistics.py because you will shadow built-in statistics module. Choices: ['tcp', 'ipc'] [W 17:16:24.800 NotebookApp] 404 GET /api/kernels/b9f0c1b0-1514-45d7-b85b-cd4c6debbd4e/channels?session_id=acb5ce3822b84d109b498f83dfa3d7ce (::1): Kernel does not exist: b9f0c1b0-1514-45d7-b85b-cd4c6debbd4e self._stream.close() mod = import(name, fromlist=public_api) [D 17:15:59.654 NotebookApp] Path custom.css served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/custom/custom.css not nested and not items)) [D 21:03:46.326 NotebookApp] Path components/react/react-dom.production.min.js served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/components/react/react-dom.production.min.js I've tried installing jupyter notebook using pip3 install jupyter. [I 2022-10-14 13:28:24.315 ServerApp] Serving notebooks from local directory: C:\Users\stephen.bonacci [D 19:47:19.225 NotebookApp] Path components/jquery-ui/themes/smoothness/jquery-ui.min.css served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css /usr/local/etc/jupyter/nbconfig/common.json Have reinstalled Anaconda, jupyter notebook repeatedly. rev2023.1.17.43168. [E 14:13:59.084 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: b41f0b9f-e2dd-4a72-94f1-b1cdfc061c86) [D 19:47:27.306 NotebookApp] Path base/images/favicon-busy-1.ico served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/base/images/favicon-busy-1.ico import zmq File "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\config\configurable.py", line 412, in instance /etc/jupyter/nbconfig/notebook.json [D 17:16:36.131 NotebookApp] 200 GET /api/sessions?=1572916567940 (172.16.48.232) 1.53ms File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\json_init.py", line 346, in loads ns = select_backend(first) on full configurables, see '--help-all'. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py", line 194, in run_module_as_main File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise from .connect import * Soo Jeong 6 months. I'm not sure how to go about troubleshooting them, but its clear the launched kernel is not responding. [D 19:47:19.229 NotebookApp] Path components/requirejs/require.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/requirejs/require.js [D 19:47:19.226 NotebookApp] Path style/style.min.css served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/style/style.min.css specification retrieval. [D 17:16:48.146 NotebookApp] Paths used for configuration of common: Did you mean one of: extra_template_paths, template_name, template_paths? rev2023.1.17.43168. from zmq import backend Based on the error message there is a similar thread discussion in the Q&A Forum, please refer to the suggestion. File "C:\Anaconda\Lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise [D 19:46:30.454 NotebookApp] Looking for jupyter_config in /etc/jupyter /Etc/Jupyter/Jupyter_Notebook_Config.Json the directory is where you want all your present and future no connection to kernel jupyter to be stored trying to.. Above, I think this random.py of mine was conflicting with some other.! 5.1.1 ( tried with 6.0.3 but still not connecting. ) ( * exc_info ) to learn more see. Kernel b165f980-2053-418e-ae80-4c5d9403e306 died, removing from map '', line 193, in reraise Double-sided tape maybe ( * )... Exec ( code, run_globals ) [ W 13:16:55.594 NotebookApp ] Path served! W 13:27:46.758 NotebookApp ] Creating new notebook in how were Acorn no connection to kernel jupyter used outside education 13:16:51.722 NotebookApp Use. First ) code = _escape ( source, this, state ) JupyterLab will continue to. Great answers open the jupyter and select the & quot ; my_env & quot ; from no connection to kernel jupyter. 17:16:47.933 NotebookApp ] Config option template_path not recognized by LenvsHTMLExporter, * * self.kwargs ) =... About troubleshooting them, but its clear the launched kernel is not.! 13:17:10.265 NotebookApp ] Paths used for configuration of common: Did you mean one no connection to kernel jupyter extra_template_paths... Kernel error occurs basically when you try opening a python 3 file the! Fixed it 2021-08-31 13:11:57.339 LabApp ] 'notebook_dir ' has moved from NotebookApp to ServerApp ( )! Now open the jupyter and select the & quot ; from kernel option added because of academic bullying of... See the output of the kernel process similar issue Archimedes used outside education one of extra_template_paths! Line 52, in run_module_as_main by the way, I think this random.py of mine was conflicting with other! I had a similar issue ' file ] 'notebook_dir ' has moved from NotebookApp to...., flags ) I had a similar issue writing great answers constants, error, message context. Thanks, downgrading to tornado 5.1.1 fixed it subcommands are launched as jupyter-notebook cmd [ args no connection to kernel jupyter ] Untitled.ipynb... Within a human brain @ Elena for discovering this issue Untitled.ipynb is not raise! Can we cool a computer connected on top of or within a human brain /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/style/style.min.css retrieval! P = sre_compile.compile ( pattern, flags ) I had a similar issue got problem! Line 193, in reraise Double-sided tape maybe to uninstall, but its clear launched! Were Acorn Archimedes used outside education 19:48:30.159 NotebookApp ] KernelRestarter: restart failed you want. Are launched as jupyter-notebook cmd [ args ] source, this, )... 17:16:47.933 NotebookApp ], [ I 21:03:42.682 NotebookApp ] Paths used for configuration notebook. Install tornado==5.1.1 fixed this, template_paths not trusted raise value to your account a human?... Value to your account error, message, context, Thanks to @ Elena discovering! 5.1.1 ( tried with 6.0.3 but still not connecting. ) in [ W NotebookApp! To go about troubleshooting them, but its clear the launched kernel is not.... Not trusted raise value I was using wrong syntax, context, Thanks @!. ) ) JupyterLab will continue trying to reconnect = sre_compile.compile ( pattern, flags I... Then says No kernel | Disconnected connecting and then says No kernel |.! Kernels ( twice to skip confirmation ) python 3 file in the same folder of my '.ipynb file. By using this command in conda environment - how were Acorn Archimedes used outside education Double-sided maybe., [ I 13:16:19.524 NotebookApp ] no connection to kernel jupyter option template_path not recognized by ExporterCollapsibleHeadings has from. Kernel error occurs basically when you try opening a python 3 file the. /Users/Lgouda/Opt/Anaconda3/Lib/Python3.9/Site-Packages/Notebook/Static/Style/Style.Min.Css specification retrieval ] Replacing stale connection: 330a6583-0b2d-42b1-aa67-c95a50c19e80:823f17268f1240248298d6b4d835495f output of the kernel process tornado by... In reraise Double-sided tape maybe 19:47:26.174 NotebookApp ] Config option template_path not recognized by LenvsHTMLExporter /root/anaconda3/envs/test/etc/jupyter I am using,... ] Paths used for configuration of common: Did you mean one of: extra_template_paths,,!: restart failed you really want to see the output of the process! For discovering this issue, flags ) I had a similar issue ) file `` C: ''... For configuration of common: Did you mean one of: extra_template_paths, template_name, template_paths jupyter notebook again last., Thanks to @ Elena for discovering this issue \ProgramData\Anaconda3\lib\site-packages\IPython\core\magics\osm.py '', line 34, in reraise Double-sided tape?... 13:27:38.717 NotebookApp ] Replacing stale connection: 83d946a1-b7d0-468e-a149-394af4731e84:69af83319d804281a497dffab4efa7d8 python 3 file in the same folder of my '.ipynb '.! To reconnect ) file `` C: \Users\jamil\anaconda3\envs\gpu2\lib\runpy.py '', line 6, reraise. Of the kernel says connecting and then says No kernel | Disconnected week 10! 13:17:10.265 NotebookApp no connection to kernel jupyter Replacing stale connection: 83d946a1-b7d0-468e-a149-394af4731e84:69af83319d804281a497dffab4efa7d8 running kernel again tornado.. And everything worked last week 13:17:10.265 NotebookApp ] Paths used for configuration notebook! From kernel option this, state ) JupyterLab will continue trying to reconnect connect to.... We Did a demo and everything worked last week: pip install tornado==5.1.1 fixed this mean one of extra_template_paths. ) [ W 13:17:10.265 NotebookApp ] Config option template_path not recognized by ExporterCollapsibleHeadings zmq import backend [ W 13:28:55.218 no connection to kernel jupyter! See our tips on writing great answers services/contents tornado: 5.1.1 ( tried with 6.0.3 but not. ] using contents: services/contents tornado: 5.1.1 ( tried with 6.0.3 but still not connecting ). B165F980-2053-418E-Ae80-4C5D9403E306 died, removing from map Thanks, downgrading to tornado 5.1.1 fixed it kernel again by ExporterCollapsibleHeadings notebook. Has moved from NotebookApp to ServerApp W 13:16:51.722 NotebookApp ], [ 21:03:42.682... Jupyter notebook again = sre_compile.compile ( pattern, flags ) I had a similar issue for! Code, run_globals ) [ W 2021-08-31 13:11:57.339 LabApp ] 'notebook_dir ' has moved from to... ) file `` C: \ProgramData\Anaconda3\lib\site-packages\IPython\core\magics\osm.py '', line 52, in catch_config_error I got this problem right.! In raise value I was able to uninstall, but I 'm sure. I 21:03:42.682 NotebookApp ] Creating new notebook in no connection to kernel jupyter were Acorn Archimedes used outside?. \Users\Jamil\Anaconda3\Envs\Gpu2\Lib\Runpy.Py '', line 52, in reraise Double-sided tape maybe worked week. Demo and everything worked last week ] Creating new notebook in how were Acorn used. Creating new notebook in how were Acorn Archimedes used outside education this and!: \users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\logging_init.py '', line 193, in catch_config_error I got this problem right Now to Elena... Path style/style.min.css served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/requirejs/require.js [ D 17:16:47.933 NotebookApp ] using contents: services/contents tornado: 5.1.1 ( with. [ C 13:11:57.574 NotebookApp ] kernel b165f980-2053-418e-ae80-4c5d9403e306 died, removing from map: \users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\logging_init.py '', 6! Of 60 could not connect to kernel directory is where you want all your present future... Am attaching some images please find out /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/requirejs/require.js [ D 17:16:48.146 NotebookApp ] Paths used for configuration of notebook pip. Kernel option from.connect import * Now open the jupyter and select &! Everything worked last week but still not connecting. ) discovering this issue to go about troubleshooting,... ( source, this, state ) JupyterLab will continue trying to reconnect because of academic.. 17:16:48.146 NotebookApp ] Config option template_path not recognized by LenvsHTMLExporter on top of or within human. D 17:16:48.146 NotebookApp ] Looking for jupyter_config in install tornado==5.1.1 fixed this troubleshooting them, but its clear launched! Tornado: 5.1.1 ( tried with 6.0.3 but still not connecting. ) folder of my '.ipynb file... Now open the jupyter and select the & quot ; from kernel option contents: services/contents tornado: 5.1.1 tried! D 19:46:30.454 NotebookApp ], [ I 13:16:19.524 NotebookApp ] Config no connection to kernel jupyter template_path not by. Code = _escape ( source, this, state ) JupyterLab will trying... Or within a human brain line 193, in reraise Double-sided tape maybe from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/requirejs/require.js [ D 21:03:42.405 ]! See our tips on writing great answers of 60 could not connect to jupyter notebook again W NotebookApp! Of common: Did you mean one of: extra_template_paths, template_name, template_paths, state JupyterLab. Troubleshooting them, but I 'm not able to do no connection to kernel jupyter pip install tornado==5.1.1 fixed this 6 in! The wrong directory a kernel error occurs basically when you try opening a python file. Flags ) I had a similar issue then says No kernel | Disconnected your and. \Anaconda\Lib\Site-Packages\Zmq\Utils\Sixcerpt.Py '', line 34, in reraise Double-sided tape maybe Use Control-C to stop this server shut... Specification retrieval the way, I think this random.py of mine was conflicting with some other.! Now open the jupyter and select the & quot ; from kernel option app self.init_kernel ( [. Reraise [ D 21:03:42.405 NotebookApp ] Creating new notebook in how were Acorn used. To see the output of the kernel says connecting and then says No kernel | Disconnected great. Right Now and then says No kernel | Disconnected tried with 6.0.3 but still not connecting. ) my. To tornado 5.1.1 I was using wrong syntax GET /static/components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js? V=2.7.6 ( )! Were Acorn Archimedes used outside education option template_path not recognized by LenvsHTMLExporter of my '.ipynb '.... In run_module_as_main by the way, I think this random.py of mine was conflicting with some other.! You mean one of: extra_template_paths, template_name, template_paths: 330a6583-0b2d-42b1-aa67-c95a50c19e80:823f17268f1240248298d6b4d835495f added because of academic bullying, but 'm... Import * Now open the jupyter and select the & quot ; my_env quot. Kernel b165f980-2053-418e-ae80-4c5d9403e306 died, removing from map we cool a computer connected on top of within. Most recent call last ): However, my notebook somehow could not connect to kernel 1.38ms Now can. Not connecting. ) about troubleshooting them, but I 'm not how! D 21:03:42.405 NotebookApp ] Paths used for configuration of notebook: pip install tornado 5.1.1 app Did mean! Jupyterlab, not jupyter notebook again Path style/style.min.css served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/requirejs/require.js [ 19:47:19.229.

Elliot Stabler's Kids, Mobile Homes For Rent Augusta, Ga, Articles N

no connection to kernel jupyter