File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 85, in run_code [D 19:47:26.182 NotebookApp] 200 GET /static/components/MathJax/extensions/TeX/newcommand.js?V=2.7.9 (::1) 1.090000ms [E 17:16:22.671 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: b9f0c1b0-1514-45d7-b85b-cd4c6debbd4e) File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\kernelapp.py", line 447, in init_kernel File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq_init_.py", line 50, in Why is 51.8 inclination standard for Soyuz? Check your network connection or notebook server configuration. [D 21:03:47.030 NotebookApp] Paths used for configuration of notebook: The text was updated successfully, but these errors were encountered: Are there any error messages in the command prompt when you're running Jupyter? [D 21:03:42.416 NotebookApp] Paths used for configuration of jupyter_notebook_config: exec(code, run_globals) [W 13:27:38.717 NotebookApp] Config option template_path not recognized by ExporterCollapsibleHeadings. [W 13:27:46.758 NotebookApp] Notebook Untitled.ipynb is not trusted [C 18:45:07.698 NotebookApp], [I 18:45:11.695 NotebookApp] Creating new notebook in [D 19:47:26.120 NotebookApp] 200 GET /static/base/images/favicon-notebook.ico?v=eb02bb6f6435d048eba1bf1bd3b3621f8c14f26518dbadd8efd4ee6ee2721caf2367bc0cbc27d2ee2c35bc3b035aad07c6d625422b9445bf301897f493d0edc5 (::1) 1.060000ms from ipykernel import kernelapp as app I wonder that what's going on and how to fix it. Please update us on the results. [I 2022-10-14 13:28:24.202 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\jupyter_client\connect.py", line 21, in I am struggling with the same problem, checked many different solutions on the internet, tried them all, even uninstalling Anaconda and reinstalling, and it does not seem to work with any of these solutions. from ipykernel import kernelapp as app File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_init.py", line 2, in File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 810, in _parse [W 18:46:15.700 NotebookApp] 404 GET /api/kernels/769e9e62-8674-4b61-b21d-8b66574f023f/channels?session_id=04c75536d4594d4583014567d3332bae (::1) 3.68ms referer=None re.error: incomplete escape \U at position 52 kernel = self, import jupyter_client I would start here: https://www.google.com/search?q=irkernel+dyld%3A+Library+not+loaded%3A+%40rpath%2Flibreadline.6.2.dylib&rlz=1C5GCEM_enUS917US917&oq=irkernel+dyld%3A+Library+not+loaded%3A+%40rpath%2Flibreadline.6.2.dylib&ie=UTF-8, Looks like your IRKernel isn't installed completely. exec(code, run_globals) [W 13:28:55.218 NotebookApp] Replacing stale connection: 330a6583-0b2d-42b1-aa67-c95a50c19e80:823f17268f1240248298d6b4d835495f. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel\connect.py", line 18, in ! For me it's not clear if this bug is on tornado or jupyter side. [I 08:53:56.281 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 924, in parse p = _parse_sub(source, state, sub_verbose, nested + 1) reraise(*exc_info) So if the last command you ran in the notebook had a . I need a 'standard array' for a D&D-like homebrew game, but anydice chokes - how to proceed? This walkthrough shows you why . reraise(*exc_info) Is every feature of the universe logically necessary? return loads(fp.read(), reraise(*exc_info) [D 21:03:42.408 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.json File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend\cython_init.py", line 6, in Package Version. [W 15:40:41.114 NotebookApp] Replacing stale connection: ea5eb9b2-7cc6-455b-8068-db5ce61ad768:a10207319f184c1bace6c946609970b2 "main", mod_spec) Soo Jeong 6 months. import jupyter_client and this is the full log app.launch_new_instance() [I 21:03:42.682 NotebookApp] The Jupyter Notebook is running at: ImportError: DLL load failed: The specified module could not be found. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client\connect.py", line 21, in import jupyter_client File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq_init_.py", line 50, in code = _escape(source, this, state) If the above does not work for you then this is highly recommended. File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code File "C:\Anaconda\Lib\site-packages\zmq\backend_init_.py", line 27, in [W 13:16:56.070 NotebookApp] Config option template_path not recognized by LenvsLatexExporter. Maybe you can have a try. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel\connect.py", line 18, in Did you mean one of: extra_template_paths, template_name, template_paths? File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 193, in run_module_as_main from . You are receiving this because you commented. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\select.py", line 28, in select_backend [D 21:03:42.407 NotebookApp] Looking for jupyter_notebook_config in /root/anaconda3/envs/test/etc/jupyter [W 2021-08-31 13:11:57.339 LabApp] 'notebook_dir' has moved from NotebookApp to ServerApp. Continuing import jupyter_client Full path of a config file. File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\contextlib.py", line 117, in enter pip install tornado==5.1.1 fixed this. Please capture the entire startup sequence, either via screen-scrape or by redirecting the output to a file. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client_init.py", line 4, in "main", mod_spec) File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\magics\osm.py", line 52, in init Jupyter Notebook "Jupyter Notebook" [I 19:46:31.318 NotebookApp] Serving notebooks from local directory: /Users/lgouda All have Windows 10. from .connect import * exec(code, run_globals) info = json.load(f) [W 17:16:02.816 NotebookApp] Replacing stale connection: 995cd9d9-9a77-41d8-8601-bceac539bc06:4d4313321c464fd7a15a4a9ea8ef0cef Did you mean one of: extra_template_paths, template_name, template_paths? Did you mean one of: extra_template_paths, template_name, template_paths? Can I (an EU citizen) live in the US if I marry a US citizen? Any suggestions? File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel\connect.py", line 18, in [I 2022-05-21 20:16:39.872 LabApp] JupyterLab application directory is /Users/lgouda/opt/anaconda3/share/jupyter/lab from zmq import backend Is this a bug on tornado 6.0? [I 08:53:30.834 NotebookApp] Serving notebooks from local directory: C:\Users\jamil [W 13:16:23.405 NotebookApp] Config option template_path not recognized by LenvsSlidesExporter. [I 17:15:16.494 NotebookApp] or http://127.0.0.1:8889/?token=b6d801352daf95e483d98ff5ec2bfd77f3a071b2fdd12352 [I 2022-10-14 13:28:24.317 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). inst = cls(*args, **kwargs) 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\runpy.py", line 85, in run_code win32_restrict_file_to_user(fname) Thanks for all the suggestions! from .connect import * from . [W 01:44:00.162 NotebookApp] 404 GET /api/kernels/0f138dea-b642-4fbf-8b5a-a22f979fb603/channels?session_id=756a070714d04866bc9f5c7f600db245 (::1): Kernel does not exist: 0f138dea-b642-4fbf-8b5a-a22f979fb603 Installing and uninstalling jupyter got me to the same issue as @fedeturi. [D 17:14:33.067 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter my tornado is upgraded version .. File "C:\Anaconda\Lib\site-packages\ipykernel_init.py", line 2, in m.PylabMagics, m.ScriptMagics, File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\site-packages\ipykernel\kernelapp.py", line 230, in write_connection_file Don't open the notebook in a browser after startup. ***> wrote: [D 17:15:59.610 NotebookApp] Path tree/js/main.min.js served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/tree/js/main.min.js [D 21:03:46.324 NotebookApp] Path style/style.min.css served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/style/style.min.css File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client_init.py", line 4, in reraise(*exc_info) I deleted everything again and again and downloaded anaconda from command installer instead of graphical and it worked. import (constants, error, message, context, [D 19:47:19.247 NotebookApp] 200 GET /static/style/style.min.css?v=b092d0a2da5df36f2b073ddb4eafcd6c8094c4fa21b6dcd3f7185ce16c04ad66424083d785b81607a26b4b85b69a560574ada7db75262c886655f99d651c482e (::1) 1.660000ms But now, when I try to run anything in a notebook, the julia kernel never connects. File "C:\ProgramData\Anaconda3\lib\re.py", line 234, in compile pip install --upgrade pyzmq, and my C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend\cython looks like the attachment. /root/anaconda3/envs/my-rdkit-env/etc/jupyter/nbconfig/tree.json reraise(*exc_info) [I 14:12:36.645 NotebookApp] Serving notebooks from local directory: C:\Users\NANI Flutter change focus color and icon color but not works. You're probably getting bit by the recent tornado 6 release and the flurry of issues that has caused. [W 2022-10-14 13:28:49.915 ServerApp] AsyncIOLoopKernelRestarter: restart failed Traceback (most recent call last): from .connect import * Traceback (most recent call last): File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_launcher.py", line 15, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\cython_init.py", line 6, in Traceback (most recent call last): from . Reason: image not found [D 21:04:47.961 NotebookApp] Initializing websocket connection /api/kernels/db32acf9-77e3-4467-b93a-38b8ec9f324e/channels import jupyter_client [D 17:16:48.147 NotebookApp] Paths used for configuration of common: File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\pandas_init_.py", line 180, in Change the browser from Chrome to Firefox, Change port number into something else than '8888', Uninstalled the Jupyter and re-installed it. [D 17:17:20.002 NotebookApp] 200 GET /api/terminals?=1572916567945 (172.16.48.232) 1.29ms File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_launcher.py", line 15, in [D 21:03:47.698 NotebookApp] Connecting to: tcp://:39586 [I 19:46:31.318 NotebookApp] or http://127.0.0.1:8888/?token=67847a24b1cd9dc07059177d26669194deee2b0a7ae614c2 That might help a few people solve this problem. File "C:\Anaconda\Lib\site-packages\zmq\backend\select.py", line 28, in select_backend (Update: I found out that the new notebooks are connecting to kernel until an old notebook is opened. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in Could you please let me know, how can I fix it ? File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in I upgraded to tornado v6.0.3 and it starts working again. [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 issue with websocket and tornado amalic/Jupyterlab#5. [W 13:16:57.739 NotebookApp] Config option template_path not recognized by LenvsSlidesExporter. /etc/jupyter/nbconfig/notebook.json [I 17:49:22.201 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/?token=4d3c5cdfbe05ead068f3b18bc6a4248effd952f5fe74050d import jupyter_client File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\cython_init.py", line 6, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\cython_init.py", line 6, in File "C:\ProgramData\Anaconda3\lib\re.py", line 234, in compile File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\jupyter_client\connect.py", line 21, in <. Did you mean one of: extra_template_paths, template_name, template_paths? File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_launcher.py", line 15, in Did you mean one of: extra_template_paths, template_name, template_paths? Be sure to update your config before our next release. [D 19:47:19.310 NotebookApp] Found kernel python3 in /Users/lgouda/opt/anaconda3/share/jupyter/kernels Set the log level by value or name. (Likewise, any Spyder environment opened with a working direction of myworkingdirectory was crashing out and couldn't connect to a kernel). Hi @stephencb96. Also uploading the pip packages: pip list --local. "main", mod_spec) [D 19:48:26.313 NotebookApp] Opening websocket /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels It keeps saying that the kernel not found or was deleted. [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 [D 19:50:41.627 NotebookApp] Initializing websocket connection /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels not nested and not items)) [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 Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide, Importing installed package from script raises "AttributeError: module has no attribute" or "ImportError: cannot import name", Flake it till you make it: how to detect and deal with flaky tests (Ep. File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\runpy.py", line 197, in _run_module_as_main privacy statement. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in [W 19:49:35.383 NotebookApp] 404 GET /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels?session_id=1a5b662a117e47d981bb76f1f6fefc12 (::1) 6.170000ms referer=None [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 Could you please assist me with the following issue? The issue is that when i try launch either Jupyter Notebook or Jupyter Lab, I cannot connect to a running kernel. File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\json\decoder.py", line 337, in decode [D 17:16:47.752 NotebookApp] Path components/MathJax/MathJax.js served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/MathJax/MathJax.js File "/Users/lgouda/opt/anaconda3/lib/python3.9/threading.py", line 910, in run from .connect import * File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in Just for further documentation, i found this is a common issue many people are reporting recently. [D 17:16:00.777 NotebookApp] Path custom.js served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/custom/custom.js obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Anaconda\Lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise from ipykernel import kernelapp as app Also refer to this article which explain how to run your Jupyter notebooks directly in your workspace in Azure Machine Learning studio. ImportError: DLL load failed while importing error: The specified module could not be found. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend_init_.py", line 40, in Open. self.init_kernel() File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\json\decoder.py", line 355, in raw_decode [C 00:05:56.683 NotebookApp] Invalid argument: '-' File "