no connection to kernel jupyter

File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 924, in parse Fixed the notebook. [W 13:16:54.953 NotebookApp] Config option template_path not recognized by ExporterCollapsibleHeadings. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise Check your network connection or notebook server self.init_magics() import (constants, error, message, context, This is the Error that appears in the console ! File "/Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py", line 2300, in Card trick: guessing the suit if you see the remaining three cards (important is that you can't move or turn the cards). At this point, you should connect to your existing kernel. "main", mod_spec) After that, running a cell containing the simple code: under any python 3.6 kernel or even R 3.6 or 4.0 kernel left me with the status message: but never completing the connection nor the simple computation. (base) PS C:\Users\jamil> conda remove jupyter jupyter-client jupyter-console jupyter-core File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend\select.py", line 28, in select_backend File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend_init_.py", line 27, in File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend\cython_init.py", line 6, in Have a question about this project? Not the answer you're looking for? File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in Data science involves the use of technical programming tools. You really want to see the output of the kernel process. ns = select_backend(first) from zmq import backend [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 A Medium publication sharing concepts, ideas and codes. [D 17:17:48.733 NotebookApp] 101 GET /api/kernels/f4d9a8b3-ef52-4c5b-b675-82ec5c8d3669/channels?session_id=77f3e9738ba44a078cf968c2cc61bc17 (172.16.48.232) 60007.36ms [I 18:45:18.869 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports It may be worthwhile first attempting to create a new conda environment using conda create -n my-new-env -c conda-forge jupyter and see if the issue occurs in that env. Also, my Monterey was the beta so I took the chance to go to 12.4 Monterey. import (constants, error, message, context, from .connect import * File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 40, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\select.py", line 28, in select_backend File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py", line 194, in run_module_as_main [I 21:03:42.680 NotebookApp] JupyterLab application directory is /root/anaconda3/envs/test/share/jupyter/lab Default: 'localhost' mod = import(name, fromlist=public_api) from . Closer inspection of the error told me that numpy: cannot import name SystemRandom. from .connect import * Tried every solution, still no connection. exec(code, run_globals) Did you mean one of: extra_template_paths, template_name, template_paths? Letter of recommendation contains wrong name of journal, how will this hurt my application? from zmq import backend [W 13:16:55.594 NotebookApp] Config option template_path not recognized by LenvsHTMLExporter. The strange part is, iPython on terminal works FINE. [D 21:03:46.326 NotebookApp] Path components/react/react.production.min.js served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/components/react/react.production.min.js [D 17:14:33.066 NotebookApp] Looking for jupyter_config in /root [D 17:17:48.734 NotebookApp] Getting buffer for f4d9a8b3-ef52-4c5b-b675-82ec5c8d3669 [D 21:03:42.405 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter After installing version 5.1.1 I have this error. how to run your Jupyter notebooks directly in your workspace in Azure Machine Learning studio. import logging File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\select.py", line 28, in select_backend [I 14:48:25.129 NotebookApp] JupyterLab extension loaded from c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\jupyterlab Traceback (most recent call last): [I 15:39:42.131 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports [D 17:16:47.469 NotebookApp] Path components/bootstrap-tour/build/css/bootstrap-tour.min.css served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/bootstrap-tour/build/css/bootstrap-tour.min.css I recently installed Jupyter Notebook on my new laptop through anaconda installer (Windows 10). raise value Did you mean one of: extra_template_paths, template_name, template_paths? File "C:\ProgramData\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main Kernel does not exist: b41f0b9f-e2dd-4a72-94f1-b1cdfc061c86 reraise(*exc_info) [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 json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) "password": "'123456' ignored, using 'sha1:f3bd4481664e:e213e841b4854685bcae350b836039389cd79cee'" Hi all, I'm doing my darndest to try and use Julia with jupyter as ssh'ing through an iPad is all I have access to. /usr/local/etc/jupyter/nbconfig/common.json File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 40, in Screen shots help too. File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 369, in _escape File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 85, in run_code [I 2022-10-14 13:28:24.302 LabApp] JupyterLab extension loaded from C:\Users\stephen.bonacci\Anaconda3\lib\site-packages\jupyterlab File "C:\ProgramData\Anaconda3\lib\re.py", line 286, in _compile [W 18:46:50.393 NotebookApp] Replacing stale connection: 7096c5db-c9da-466a-8db9-a9faf91a6a07:9cd069ef84f34a349e950ea328934ea9 File "C:\ProgramData\Anaconda3\lib\re.py", line 234, in compile [D 19:47:35.384 NotebookApp] Connecting to: tcp://127.0.0.1:58644 app.launch_new_instance() This appears to be a duplicate of #4050, but rather than downgrade ipykernel and IPython, especially given the age of those responses, I would first try ensuring that you're running the latest versions of each and upgrade if not. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise self.load_connection_file() File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 85, in run_code Did you mean one of: extra_template_paths, template_name, template_paths? File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\jupyter_client_init.py", line 4, in [D 19:47:19.310 NotebookApp] Found kernel python3 in /Users/lgouda/opt/anaconda3/share/jupyter/kernels [W 01:44:00.144 NotebookApp] Timeout waiting for kernel_info reply from 0f138dea-b642-4fbf-8b5a-a22f979fb603 You can try starting the notebook server with the --debug flag, which should produce more output, but I'm not hopeful it will provide helpful information. To learn more, see our tips on writing great answers. In the end I noticed some ValueError Exceptions being raised in the console where I started the jupyter client. [D 19:47:19.247 NotebookApp] 200 GET /static/style/style.min.css?v=b092d0a2da5df36f2b073ddb4eafcd6c8094c4fa21b6dcd3f7185ce16c04ad66424083d785b81607a26b4b85b69a560574ada7db75262c886655f99d651c482e (::1) 1.660000ms from ipykernel import kernelapp as app `C:\Users\This-PC>jupyter notebook - debug . from zmq import backend import jupyter_client File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code p = _parse_sub(source, state, sub_verbose, nested + 1) The debug flag uses two dashes and no space between the second dash and the string 'debug'. [D 19:46:30.463 NotebookApp] Paths used for configuration of jupyter_notebook_config: Did you mean one of: extra_template_paths, template_name, template_paths? [D 17:16:00.778 NotebookApp] Path nb_conda/tree.js served from /root/anaconda3/envs/my-rdkit-env/share/jupyter/nbextensions/nb_conda/tree.js File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise Asking for help, clarification, or responding to other answers. [W 13:17:10.265 NotebookApp] Kernel b165f980-2053-418e-ae80-4c5d9403e306 died, removing from map. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\cython_init.py", line 6, in File "C:\Anaconda\Lib\site-packages\zmq_init.py", line 55, in ImportError: DLL load failed while importing error: The specified module could not be found. File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\ipykernel_init.py", line 2, in [D 17:15:59.606 NotebookApp] Path style/style.min.css served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/style/style.min.css [C 13:43:21.030 NotebookApp]. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\cython_init.py", line 6, in [D 19:46:30.455 NotebookApp] Looking for jupyter_notebook_config in /Users/lgouda/.local/etc/jupyter from . DEPRECATED, IGNORED Screen shots help too. The only solution I found was by resetting the system(I took a backup of most wanted apps) and install the application. Thanks Bro, This was a big helpstruggling since a week. [I 17:15:16.494 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). Meaning of "starred roof" in "Appointment With Love" by Sulamith Ish-kishor. } import (constants, error, message, context, File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in [D 19:46:30.455 NotebookApp] Looking for jupyter_config in /Users/lgouda/.jupyter (base) lgouda@Lobnas-MacBook-Pro ~ % jupyter notebook Do you have any other suggestions? raise value [I 21:03:42.682 NotebookApp] Serving notebooks from local directory: /root [I 13:11:53.927 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.4.1 File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in from zmq import backend --generate-config [W 13:27:42.257 NotebookApp] Config option template_path not recognized by ExporterCollapsibleHeadings. I wonder that what's going on and how to fix it. Thanks @kevin-bates ! File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py", line 87, in run_code import zmq The code blocks we use are kernels. [W 13:16:21.197 NotebookApp] Config option template_path not recognized by ExporterCollapsibleHeadings. Please share more than the code to explain your answer. ns = select_backend(first) WARNING: The conda.compat module is deprecated and will be removed in a future release. inst = cls(args, **kwargs) [D 21:03:42.415 NotebookApp] Paths used for configuration of jupyter_notebook_config: [I 2022-10-14 13:28:24.313 ServerApp] The port 8888 is already in use, trying another port. Continuing Also, I think my problem is not about jupyter. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq_init_.py", line 50, in [W 14:14:00.142 NotebookApp] 404 GET /api/kernels/b41f0b9f-e2dd-4a72-94f1-b1cdfc061c86/channels?session_id=c0d76dd1f83349d287576e3d1bee99fd (::1): Kernel does not exist: b41f0b9f-e2dd-4a72-94f1-b1cdfc061c86 Did you mean one of: extra_template_paths, template_name, template_paths? [W 18:46:12.905 NotebookApp] Timeout waiting for kernel_info reply from 769e9e62-8674-4b61-b21d-8b66574f023f /Users/lgouda/.jupyter/nbconfig/notebook.json rev2023.1.17.43168. File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\ipkernel.py", line 68, in init Help me please ;( Did you mean one of: extra_template_paths, template_name, template_paths? return run_code(code, main_globals, None, from zmq import backend from ipykernel import kernelapp as app [D 19:47:26.039 NotebookApp] Path notebook/js/main.min.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/notebook/js/main.min.js (test) [root@localhost ~]# jupyter notebook --allow-root --debug If not specified, the default browser will be determined by the I found posts for people finding the same with catalina. import (constants, error, message, context, /root/anaconda3/envs/my-rdkit-env/etc/jupyter/nbconfig/common.json That might help a few people solve this problem. Traceback (most recent call last): trying to reconnect. exec(code, run_globals) "password": "'123456' ignored, using 'sha1:f3bd4481664e:e213e841b4854685bcae350b836039389cd79cee'" import zmq Traceback (most recent call last): File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in from ipykernel import kernelapp as app [W 15:39:33.524 NotebookApp] Notebook Untitled2.ipynb is not trusted File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py", line 194, in run_module_as_main of issues that has caused. [I 14:48:38.797 NotebookApp] Kernel started: 34ab8f86-f841-4692-bd38-04bce7ecfdf4 [I 17:49:27.426 NotebookApp] Kernel started: 64e1f1ca-8f10-4995-8170-a8a3f56d0847 and this is the full log Otherwise, I would have used Anaconda prompt. [E 13:28:50.502 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 330a6583-0b2d-42b1-aa67-c95a50c19e80) [W 01:43:43.185 NotebookApp] Replacing stale connection: 0f138dea-b642-4fbf-8b5a-a22f979fb603:756a070714d04866bc9f5c7f600db245 File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 420, in _parse_sub Windows PowerShell Now we will run this next line of code to merge the kernel to our virtual environment and install it for this user. from pandas.testing import ( File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\site-packages\ipykernel\kernelapp.py", line 230, in write_connection_file [W 13:27:42.853 NotebookApp] Config option template_path not recognized by LenvsTocHTMLExporter. How did adding new pages to a US passport use to work? Did you mean one of: extra_template_paths, template_name, template_paths? /root/.jupyter/nbconfig/common.json [W 15:39:03.437 NotebookApp] Kernel '141bcf3c-2e22-45aa-a0cf-5a6e91946b02' appears to have been culled or died unexpectedly, invalidating session '0fba7802-0fe1-424d-a0ac-a72bad284612'. File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code self.init_kernel() from .connect import * File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 85, in run_code import zmq File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend_init_.py", line 40, in [D 17:16:00.291 NotebookApp] 200 GET /static/services/contents.js?v=20191105171433 (172.16.48.232) 1.77ms File "C:\ProgramData\Anaconda3\lib\sre_compile.py", line 764, in compile [IPKernelApp] ERROR | Failed to load connection file: 'C:\Users\jsdha\AppData\Roaming\jupyter\runtime\kernel-83d946a1-b7d0-468e-a149-394af4731e84.json' raise value File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_launcher.py", line 15, in python -m pip uninstall -y jupyter jupyter_core jupyter-client jupyter-console jupyterlab_pygments notebook qtconsole nbconvert nbformat. [D 17:14:33.067 NotebookApp] Looking for jupyter_notebook_config in /root/anaconda3/envs/my-rdkit-env/etc/jupyter The port the notebook server will listen on. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in [W 13:27:41.303 NotebookApp] Config option template_path not recognized by LenvsSlidesExporter. [D 17:14:33.505 NotebookApp] Paths used for configuration of jupyter_notebook_config: File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 420, in _parse_sub File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\ipkernel.py", line 68, in init I am attaching some images please find out. from .connect import * File "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error [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 What is the origin and basis of stare decisis? mod = import(name, fromlist=public_api) File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\zmqshell.py", line 593, in init_magics File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_init.py", line 2, in [W 17:16:24.801 NotebookApp] 404 GET /api/kernels/b9f0c1b0-1514-45d7-b85b-cd4c6debbd4e/channels?session_id=acb5ce3822b84d109b498f83dfa3d7ce (::1) 2.71ms referer=None after the above solution also int is not working to me File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel\connect.py", line 18, in --no-browser File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\site-packages\jupyter_client\connect.py", line 136, in write_connection_file --debug I was able to uninstall, but i'm not able to do a pip install tornado 5.1.1. AWS Configuration phase on Cygwin) Type "Jupyter Notebook" on Cygwin. [W 13:27:41.351 NotebookApp] Config option template_path not recognized by LenvsSlidesExporter. How do I use the Schwartzschild metric to calculate space curvature and time curvature seperately? The full path to a private key file for usage with SSL/TLS. from zmq import backend [D 19:47:26.059 NotebookApp] 200 GET /static/notebook/css/override.css?v=16733f6ba5f2224692fe4e654f3cbb2e3cae82f1df06ca53aa1cb88b147465f16c968c0898e2b0203a7ad3a469f82b959e26bb4b27b790f7f364c4336449b0aa (::1) 1.330000ms [C 14:12:36.877 NotebookApp], [I 14:12:58.999 NotebookApp] Kernel started: b41f0b9f-e2dd-4a72-94f1-b1cdfc061c86 exec(code, run_globals) [D 21:03:47.698 NotebookApp] Connecting to: tcp://:39586 File "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\config\configurable.py", line 412, in instance File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\magics\osm.py", line 52, in init [I 20:16:39.876 NotebookApp] Jupyter Notebook 6.4.8 is running at: [I 08:53:30.834 NotebookApp] http://localhost:8888/?token=022ac9c1bda06555311b7bb5a70b8d58cd5f0b6d5b8bc67b Please capture the entire startup sequence, either via screen-scrape or by redirecting the output to a file. [D 17:14:33.507 NotebookApp] Paths used for configuration of jupyter_notebook_config: Referenced from: /Users/sidodalpozzolo/opt/anaconda3/lib/R/lib/libR.dylib [D 19:49:02.572 NotebookApp] Using contents: services/contents The session has been removed. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 85, in run_code raise value Full path of a config file. raise value "main", mod_spec) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code [W 13:43:35.534 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20210224134319 (::1) 22.980000ms referer=http://localhost:8888/notebooks/Untitled.ipynb "main", mod_spec) exec(code, run_globals) File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\kernelapp.py", line 447, in init_kernel File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code Reason: image not found File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\IPython_init.py", line 55, in Sometimes duplicate names of imported packages can interfere as well. `. File "", line 2, in initialize Site Maintenance- Friday, January 20, 2023 02:00 UTC (Thursday Jan 19 9PM Were bringing advertisements for technology courses to Stack Overflow, pip install geopandas: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output, Jupyter Notebook Cannot Connect to Kernel, Likely due to Zipline / AssertionError, "import tensorflow" results in error: No module named 'tensorflow.python.eager.polymorphic_function' (Python in Jupyter Lab), Using IPython / Jupyter Notebooks Under Version Control, How to make IPython notebook matplotlib plot inline, Conda environments not showing up in Jupyter Notebook, after installing jupyter locally, I can't run jupyter notebook, I can't install Jupyter and Matplotlib in my anaconda env, No module named 'tensorflow' jupyter notebook, Keras code not working in Jupyter: "The kernel appears to have died. [I 13:28:02.689 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports Available kernels: File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\cython_init.py", line 6, in from zmq import backend Why is water leaking from this hole under the sink? [D 17:14:33.073 NotebookApp] [nb_conda_kernels] refreshing conda info i tries creating different envs, none of them worked, uninstalled and reinstalled anaconda, that didn't work, used this [D 17:16:00.359 NotebookApp] 200 GET /api/config/tree?=1572916567934 (172.16.48.232) 9.88ms File "/Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py", line 2300, in return run_code(code, main_globals, None, return _compile(pattern, flags) code = _escape(source, this, state) from .connect import * from . from .connect import * [I 20:16:39.876 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in run_module_as_main File "C:\Anaconda\Lib\site-packages\zmq_init.py", line 55, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in [I 17:14:33.861 NotebookApp] Serving notebooks from local directory: /root I don't know what the scope of nb-conda-kernels is - whether they span all conda envs or are specific to a particular env - but if you can uninstall them, you could try installing ipykernel and use that from Notebook. from .connect import * [D 19:47:26.063 NotebookApp] 200 GET /static/components/text-encoding/lib/encoding.js?v=737ac6f9f978afb6348b5914877e7d7136de7465cd4cdf389bad9a6b3ad5ceffbfb23febc75c23378967d7d36f98f5388208e8eb78c80f2bf47e8f8c000481ad (::1) 0.590000ms [I 2022-10-14 13:28:37.805 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports /Users/lgouda/.local/etc/jupyter/nbconfig/tree.json from ipykernel import kernelapp as app File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\json_init.py", line 293, in load File "C:\Anaconda\Lib\site-packages\ipykernel\connect.py", line 18, in File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel\connect.py", line 18, in [I 2022-10-14 13:28:24.316 ServerApp] http://localhost:8889/lab?token=e4b82b055f39ff980ad19e432534a4add1f65e15c5c244aa File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py", line 16, in exec(code, run_globals) Thanks for all the suggestions! For me it's not clear if this bug is on tornado or jupyter side. C:\Users\This-PC>jupyter kernelspec list Available kernels: python3 c:\users\this-pc\appdata\local\programs\python\python37-32\share\jupyter\kernels\python3. [D 19:47:29.318 NotebookApp] Connecting to: tcp://127.0.0.1:58644 File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\magic.py", line 405, in register exec(code, run_globals) ImportError: DLL load failed: The specified module could not be found. Funny to see an update on tornado wrecking havoc ;^), Thank you for the suggestion, I'm having the same problem and downgrading tornado fixed the problem. [W 08:53:59.288 NotebookApp] KernelRestarter: restart failed re.error: incomplete escape \U at position 52 Did you mean one of: extra_template_paths, template_name, template_paths? [I 13:27:56.504 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports [W 15:48:55.137 NotebookApp] Replacing stale connection: ea5eb9b2-7cc6-455b-8068-db5ce61ad768:a10207319f184c1bace6c946609970b2 [D 19:47:26.085 NotebookApp] Path components/MathJax/config/Safe.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/MathJax/config/Safe.js [D 17:16:48.836 NotebookApp] 304 GET /nbextensions/nb_conda/common.js?v=20191105171433 (172.16.48.232) 1.30ms [W 19:48:30.158 NotebookApp] 404 GET /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels?session_id=1a5b662a117e47d981bb76f1f6fefc12 (::1): Kernel does not exist: b8710be7-c12c-44a5-a501-84bede249224 Traceback (most recent call last): [W 21:04:47.700 NotebookApp] Timeout waiting for kernel_info reply from 425ab218-76c9-4bb0-b6e2-fb3b90565c03 "main", mod_spec) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\select.py", line 28, in select_backend [D 17:16:48.422 NotebookApp] 200 GET /nbextensions/jupyter-js-widgets/extension.js?v=20191105171433 (172.16.48.232) 161.32ms Any suggestions? inst = cls(*args, **kwargs) Hi @stephencb96. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client\connect.py", line 21, in [D 19:47:26.193 NotebookApp] Found kernel python3 in /Users/lgouda/opt/anaconda3/share/jupyter/kernels [W 18:45:46.384 NotebookApp] 404 GET /api/kernels/7096c5db-c9da-466a-8db9-a9faf91a6a07/channels?session_id=9cd069ef84f34a349e950ea328934ea9 (::1) 8.59ms referer=None File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend_init_.py", line 40, in RANDS_CHARS = np.array(list(string.ascii_letters + string.digits), dtype=(np.str, 1)) Did you mean one of: extra_template_paths, template_name, template_paths? i used pip install tornado==5.1.1 and wala! [I 13:16:57.977 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports Please update us on the results. The text was updated successfully, but these errors were encountered: Could you please provide the output you see on the Notebook server's console? File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 40, in import jupyter_client exec(code, run_globals) Did you mean one of: extra_template_paths, template_name, template_paths? from .connect import * I suspect this has something to do with nb_conda_kernels - of which I'm not familiar as I've never used them - but have heard disparaging stories about. This caused errors similar to the others in the thread above. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide, Windows --> Change Proxy Settings --> Automatically Detect Settings -> "Turn-off". Did you mean one of: extra_template_paths, template_name, template_paths? reraise(*exc_info) /usr/local/etc/jupyter/nbconfig/notebook.json ns = select_backend(first) [I 17:15:16.494 NotebookApp] or http://127.0.0.1:8889/?token=b6d801352daf95e483d98ff5ec2bfd77f3a071b2fdd12352 or 'runway threshold bar?'. Did you mean one of: extra_template_paths, template_name, template_paths? Then, I fresh installed anaconda and still the problem stays. After the upgrade to the latest VSC version on Linux Ubuntu 20.04 I cannot run any jupyter notebook. [W 13:16:24.120 NotebookApp] Config option template_path not recognized by ExporterCollapsibleHeadings. internet security software is disabled, but I still have problem with it :(

List Of San Jose Police Chiefs, Live Wedding Painter Las Vegas, Articles N

no connection to kernel jupyter