File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\kernelapp.py", line 447, in init_kernel I am also facing the same issue while running the tutorial code. Just seems weird that jupyter won't work with tornado 6.0 and it's installed by default. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel\connect.py", line 18, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in Did you mean one of: extra_template_paths, template_name, template_paths? } Did you mean one of: extra_template_paths, template_name, template_paths? [W 19:48:28.064 NotebookApp] 404 GET /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels?session_id=1a5b662a117e47d981bb76f1f6fefc12 (::1): Kernel does not exist: b8710be7-c12c-44a5-a501-84bede249224 ), but none of them has worked out. [I 17:14:33.860 NotebookApp] [nb_conda] enabled File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\ipykernel_init.py", line 2, in import (constants, error, message, context, File "C:\Anaconda\Lib\site-packages\zmq\backend_init_.py", line 27, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client_init.py", line 4, in File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py", line 87, in run_code File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_launcher.py", line 15, in [W 14:48:38.613 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20200411144824 (::1) 37.90ms referer=http://localhost:8888/notebooks/Untitled12.ipynb?kernel_name=python3 self._stream.close() ns = select_backend(first) [D 17:16:47.753 NotebookApp] 304 GET /static/components/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (172.16.48.232) 1.77ms File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\site-packages\traitlets\config\application.py", line 87, in inner 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. after activation, you can observe that the environment has changed from base to py this is a confirmation that the activation of the new environment worked perfectly. raise value Is there a way to run Jupyter Notebooks Without Anaconda? File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code [D 19:47:27.308 NotebookApp] 200 GET /static/base/images/favicon-busy-1.ico (::1) 7.560000ms from zmq import backend cleanup_connection_file . Hello to everyone !! [W 13:16:21.674 NotebookApp] Config option template_path not recognized by LenvsHTMLExporter. You have adressed similar issues but mine seems to be different from theirs. json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) With that in mind, the issue (above) is due to this: ImportError: WSAStartup failed: error code 10107. File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq_init_.py", line 50, in [W 13:16:21.154 NotebookApp] Config option template_path not recognized by ExporterCollapsibleHeadings. Not sure if this also helps, after the manual install, I find that echo $path has extra line for conda while the .bash_profile has no lines for conda. [D 17:16:48.246 NotebookApp] 200 GET /api/contents/test_dir/rdkit.ipynb?type=notebook&=1572916615683 (172.16.48.232) 19.99ms [W 18:46:50.393 NotebookApp] Replacing stale connection: 7096c5db-c9da-466a-8db9-a9faf91a6a07:9cd069ef84f34a349e950ea328934ea9 [W 13:16:24.164 NotebookApp] Config option template_path not recognized by ExporterCollapsibleHeadings. from .connect import * File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in app.launch_new_instance() exec(code, run_globals) [C 17:15:16.501 NotebookApp], Looks like your IRKernel isn't installed completely. File "C:\Anaconda\Lib\site-packages\jupyter_client\connect.py", line 21, in In my case, I created a virtual environment named "DL", but the notebook that should have run under this environment did not, so I uninstalled it from the notebook and installed it again with the commands: python -m ipykernel install --user --name=DL. [D 21:03:46.325 NotebookApp] Path notebook/css/override.css served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/notebook/css/override.css mod = import(name, fromlist=public_api) File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\pandas_testing.py", line 404, in from ipykernel import kernelapp as app [W 13:16:24.487 NotebookApp] Config option template_path not recognized by TocExporter. raise JSONDecodeError("Expecting value", s, err.value) from None Sign up for a free GitHub account to open an issue and contact its maintainers and the community. mod = import(name, fromlist=public_api) [D 19:47:38.395 NotebookApp] Starting kernel: ['/Users/lgouda/opt/anaconda3/bin/python', '-m', 'ipykernel_launcher', '-f', '/Users/lgouda/Library/Jupyter/runtime/kernel-b8710be7-c12c-44a5-a501-84bede249224.json'] ns = select_backend(first) ns = select_backend(first) File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend\cython_init.py", line 6, in File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\site-packages\ipykernel\kernelapp.py", line 257, in init_connection_file import jupyter_client File "C:\Anaconda\Lib\site-packages\zmq\backend_init_.py", line 27, in rc = osapipe.close() m.PylabMagics, m.ScriptMagics, Solving environment: done, (base) PS C:\Users\jamil> jupyter notebook [W 13:27:41.351 NotebookApp] Config option template_path not recognized by LenvsSlidesExporter. File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\site-packages\ipykernel_init.py", line 2, in import jupyter_client 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'. RuntimeWarning: Enable tracemalloc to get the object allocation traceback File "C:\ProgramData\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main This issue is nearly identical to the one resolved immediately above this posting. File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\json\decoder.py", line 355, in raw_decode File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel\connect.py", line 18, in mod = import(name, fromlist=public_api) After days of looking for solution. That's the one that solved for me too. [I 20:16:39.876 NotebookApp] Jupyter Notebook 6.4.8 is running at: import zmq 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. [I 14:48:25.129 NotebookApp] JupyterLab application directory is c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\share\jupyter\lab Click either of these to run cells. return method(app, *args, **kwargs) obj, end = self.raw_decode(s, idx=w(s, 0).end()) I tried several methods but neither worked. [D 17:17:48.734 NotebookApp] Getting buffer for f4d9a8b3-ef52-4c5b-b675-82ec5c8d3669 self.init_kernel() So, for your issue just make sure whether your launched new notebook is in your working directory or not. [C 19:46:31.324 NotebookApp], Traceback (most recent call last): [W 13:27:39.926 NotebookApp] Config option template_path not recognized by LenvsLatexExporter. File "C:\Anaconda\Lib\site-packages\jupyter_client\connect.py", line 21, in [D 21:03:47.698 NotebookApp] Connecting to: tcp://:39586 File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in reraise(*exc_info) return loads(fp.read(), Could you please share the approach you took? Is this a bug on tornado 6.0? [D 19:47:26.228 NotebookApp] 304 GET /custom/custom.js?v=20220521194630 (::1) 1.300000ms [D 17:15:59.608 NotebookApp] Path components/react/react-dom.production.min.js served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/react/react-dom.production.min.js I experienced a similar issue on my old PC converted into a Ubuntu 20.04 server, with Jupyterlab running under Jupyterhub. Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL') m.PylabMagics, m.ScriptMagics, [I 17:15:16.414 NotebookApp] The port 8888 is already in use, trying another port. [W 01:44:00.165 NotebookApp] 404 GET /api/kernels/0f138dea-b642-4fbf-8b5a-a22f979fb603/channels?session_id=756a070714d04866bc9f5c7f600db245 (::1) 16983.47ms referer=None [W 15:39:51.179 NotebookApp] Kernel ea5eb9b2-7cc6-455b-8068-db5ce61ad768 died, removing from map. m = m(shell=self.shell) 1 Class class IPython.kernel.connect.ConnectionFileMixin (**kwargs) . Type x and hit return, and you should see that the variable already exists and has a value of 5. reraise(*exc_info) exec(code, run_globals) dyld: Library not loaded: @rpath/libreadline.6.2.dylib reraise(*exc_info) File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\magics\osm.py", line 52, in init In my case, I just updated my jupyter and it worked. [C 14:48:25.178 NotebookApp], [I 14:48:37.136 NotebookApp] Creating new notebook in I tried installing both jupyterlab and notebook from cmd before and didnot work. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client_init.py", line 4, in [W 13:16:21.629 NotebookApp] Config option template_path not recognized by LenvsHTMLExporter. [I 21:03:42.682 NotebookApp] Serving notebooks from local directory: /root [I 15:39:39.108 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports AttributeError: partially initialized module 'string' has no attribute 'ascii_letters' (most likely due to a circular import) from zmq import backend [I 17:14:33.861 NotebookApp] The Jupyter Notebook is running at: from .connect import * specification retrieval. from .connect import * Error Message: Kernel doesn't exist. [W 17:14:33.069 NotebookApp] Collisions detected in /root/.jupyter/jupyter_notebook_config.py and /root/.jupyter/jupyter_notebook_config.json config files. [D 21:03:46.324 NotebookApp] Path components/jquery-typeahead/dist/jquery.typeahead.min.css served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css --port-retries= (NotebookApp.port_retries) By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. Thanks Bro, This was a big helpstruggling since a week. return run_code(code, main_globals, None, from . import (constants, error, message, context, File "c:\users\kimish.desktop-pt5p6t3\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in run_module_as_main File "/Users/lgouda/opt/anaconda3/lib/python3.9/webbrowser.py", line 684, in open At least it is an easy fix! Did you mean one of: extra_template_paths, template_name, template_paths? [D 19:49:31.491 NotebookApp] 200 GET /api/contents/Python%20Codes.ipynb?content=0&=1653187646115 (::1) 4.030000ms ImportError: DLL load failed: The specified module could not be found. Hi @kirat89 - I recommend starting with these instructions (#4980 (comment)) from within your py3tf2.0 environment. I need a 'standard array' for a D&D-like homebrew game, but anydice chokes - how to proceed? from . [D 17:17:48.733 NotebookApp] Opening websocket /api/kernels/f4d9a8b3-ef52-4c5b-b675-82ec5c8d3669/channels /Users/lgouda/opt/anaconda3/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json [W 08:54:45.372 NotebookApp] 404 GET /api/kernels/141bcf3c-2e22-45aa-a0cf-5a6e91946b02/channels?session_id=8e34707500254cf68e9a67a6a7157d43 (::1) 23.980000ms referer=None from zmq import backend [D 17:16:00.359 NotebookApp] 200 GET /api/config/tree?=1572916567934 (172.16.48.232) 9.88ms [D 21:03:42.405 NotebookApp] Looking for jupyter_config in /root/anaconda3/envs/test/etc/jupyter Among these libraries is the Jupyter Notebook. [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'. [W 05:38:30.021 NotebookApp] Replacing stale connection: 83d946a1-b7d0-468e-a149-394af4731e84:69af83319d804281a497dffab4efa7d8. At first, it seemed kernel was connecting with a new notebook but after some time kernel was connecting in a new notebook. /Users/lgouda/opt/anaconda3/etc/jupyter/nbconfig/notebook.d/jupyterlab-plotly.json [D 17:16:48.146 NotebookApp] Paths used for configuration of common: dyld: Library not loaded: @rpath/libreadline.6.2.dylib What's the term for TV series / movies that focus on a family as well as their individual lives? Did you mean one of: extra_template_paths, template_name, template_paths? Sign in [I 08:53:30.834 NotebookApp] http://localhost:8888/?token=022ac9c1bda06555311b7bb5a70b8d58cd5f0b6d5b8bc67b Choices: ['tcp', 'ipc'] my error>>>>>>>>>>>>>>>>>>>>>.. [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 I upgraded to tornado v6.0.3 and it starts working again. ImportError: DLL load failed: The specified module could not be found. By clicking Sign up for GitHub, you agree to our terms of service and [E 01:44:00.146 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 0f138dea-b642-4fbf-8b5a-a22f979fb603) [W 13:27:44.571 NotebookApp] Config option template_path not recognized by LenvsSlidesExporter. [W 17:17:48.731 NotebookApp] Timeout waiting for kernel_info reply from f4d9a8b3-ef52-4c5b-b675-82ec5c8d3669 [D 21:03:42.405 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter 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) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 85, in run_code [C 14:12:36.877 NotebookApp], [I 14:12:58.999 NotebookApp] Kernel started: b41f0b9f-e2dd-4a72-94f1-b1cdfc061c86 File "C:\Anaconda\Lib\site-packages\ipykernel_launcher.py", line 15, in [I 13:43:44.866 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports File "C:\ProgramData\Anaconda3\lib\re.py", line 286, in _compile Referenced from: /Users/sidodalpozzolo/opt/anaconda3/lib/R/lib/libR.dylib Actually i am facing issue in my new conda environment named as ajitenv. [D 17:14:33.069 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.json There is a likelihood that you've updated Tornado to 6.0.0 recently. File "C:\Users\jsdha\anaconda3\envs\py3tf2.0\lib\json\decoder.py", line 355, in raw_decode [W 13:16:55.733 NotebookApp] Config option template_path not recognized by LenvsTocHTMLExporter. Turns out this is a tornado issue. [I 17:49:22.201 NotebookApp] 0 active kernels from zmq import backend [D 19:47:19.307 NotebookApp] Paths used for configuration of common: p = _parse_sub(source, state, sub_verbose, nested + 1) The fact that the restarter is kicking in indicates that the process used to launch the kernel is starting such that the start_kernel() request succeeds, then the process is terminating (probably immediately - although the polling interval of the restarter defaults to 3 seconds). JupyterLab will continue trying to reconnect. raise value Did you mean one of: extra_template_paths, template_name, template_paths? import zmq File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 924, in parse File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 193, in run_module_as_main File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code [I 2022-10-14 13:28:43.851 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (3/5), new random ports [D 19:47:26.194 NotebookApp] 304 GET /api/kernelspecs (::1) 1.260000ms yet so far I donot see the problem and it has been an hr. mod = import(name, fromlist=public_api) [W 01:43:14.974 NotebookApp] KernelRestarter: restart failed jupyter notebook Write a Program Detab That Replaces Tabs in the Input with the Proper Number of Blanks to Space to the Next Tab Stop. If the above does not work for you then this is highly recommended. kernel = self, [I 19:46:31.318 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [D 17:17:20.002 NotebookApp] 200 GET /api/terminals?=1572916567945 (172.16.48.232) 1.29ms exec(code, run_globals) Did you mean one of: extra_template_paths, template_name, template_paths? 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\jupyter_client\connect.py", line 21, in [I 2022-10-14 13:28:46.872 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (4/5), new random ports When we create kernels, we can link it to our virtual environment. Did you mean one of: extra_template_paths, template_name, template_paths? [I 13:43:20.812 NotebookApp] Serving notebooks from local directory: C:\Users\user [W 13:16:22.118 NotebookApp] Config option template_path not recognized by LenvsLatexExporter. from debugpy.common import log, messaging File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel\connect.py", line 18, in [D 17:16:47.982 NotebookApp] Path components/MathJax/config/Safe.js served from /root/anaconda3/envs/my-rdkit-env/lib/python3.6/site-packages/notebook/static/components/MathJax/config/Safe.js <. File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\ipkernel.py", line 68, in init [D 19:47:26.120 NotebookApp] 200 GET /static/base/images/favicon-notebook.ico?v=eb02bb6f6435d048eba1bf1bd3b3621f8c14f26518dbadd8efd4ee6ee2721caf2367bc0cbc27d2ee2c35bc3b035aad07c6d625422b9445bf301897f493d0edc5 (::1) 1.060000ms ImportError: DLL load failed while importing win32api: The specified module could not be found. File "", line 2, in initialize If that's a port number, you really need to write the entire JSON block I had provided to a file (brackets included), say, connection.json, then reference that file in the command with -f connection.json. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\ipykernel_launcher.py", line 15, in [I 14:48:25.135 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [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:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\jupyter_client\connect.py", line 21, in A Microsoft tool for creating, managing, operating, and optimizing high-performance computing (HPC) and big compute clusters in Azure. Data Visualization : An insight from Data, Top 5 Power BI Dashboard Examples to Get You Started, Stock Fundamental Data: Tips to Get it For Free & Its Limitations, Hacks for becoming a top data scientist in 6 months: What I did in 2018, and what I will do in 2019, python -m ipykernel install user name myenv display-name py. File "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\config\application.py", line 663, in launch_instance I've set the Kernel to use Python 3.10.9 but can see the 3.8 being used. "main", mod_spec) [I 15:39:42.131 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports raise value Collecting package metadata (repodata.json): done [I 14:12:36.653 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). /usr/local/etc/jupyter/nbconfig/notebook.json :D. Wonderful solutions. [D 17:16:48.866 NotebookApp] 304 GET /nbextensions/nb_conda/conda.css (172.16.48.232) 1.15ms File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 420, in _parse_sub Check your network connection or notebook server configuration. from .connect import * [W 17:16:24.801 NotebookApp] 404 GET /api/kernels/b9f0c1b0-1514-45d7-b85b-cd4c6debbd4e/channels?session_id=acb5ce3822b84d109b498f83dfa3d7ce (::1) 2.71ms referer=None File "C:\ProgramData\Anaconda3\lib\sre_parse.py", line 420, in _parse_sub File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\jupyter_client\connect.py", line 21, in File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py", line 87, in run_code mod = import(name, fromlist=public_api) How to navigate this scenerio regarding author order for a publication? In my case, I just updated my jupyter and it worked. from ipykernel import kernelapp as app [W 13:16:21.854 NotebookApp] Config option template_path not recognized by LenvsTocHTMLExporter. Notebook is working fine now. after restarting the notebook server: import zmq File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\ipkernel.py", line 68, in init ImportError: DLL load failed while importing error: The specified module could not be found. from . [I 13:11:57.395 NotebookApp] or http://127.0.0.1:8888/?token=0b9c64d4cfe04a4d0a9f5ffbba1589b4d876b6f1c24f5980 return next(self.gen) I'm not sure how to go about troubleshooting them, but its clear the launched kernel is not responding. self.write_connection_file() return run_code(code, main_globals, None, File "C:\ProgramData\Anaconda3\lib\re.py", line 234, in compile exec(code, run_globals) from ipykernel import kernelapp as app If the above does not work for you then this is highly recommended. [D 17:16:00.354 NotebookApp] Paths used for configuration of tree: [E 15:40:36.166 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: ea5eb9b2-7cc6-455b-8068-db5ce61ad768) "password": "'123456' ignored, using 'sha1:f3bd4481664e:e213e841b4854685bcae350b836039389cd79cee'" [W 13:16:24.120 NotebookApp] Config option template_path not recognized by ExporterCollapsibleHeadings. [D 21:03:47.380 NotebookApp] Starting kernel: ['/root/anaconda3/envs/test/bin/python', '-m', 'ipykernel_launcher', '-f', '/run/user/0/jupyter/kernel-425ab218-76c9-4bb0-b6e2-fb3b90565c03.json'] [I 19:47:19.185 NotebookApp] 302 GET /?token=67847a24b1cd9dc07059177d26669194deee2b0a7ae614c2 (::1) 2.810000ms To learn more, see our tips on writing great answers. File "C:\ProgramData\Anaconda3\lib\sre_compile.py", line 764, in compile It is literally --debug.The ellipses (e.g., .) Just like @kevin-bates mentioned. Jupyter Notebook "Jupyter Notebook" Thank you in anticipation of your kind assistance. Tried every solution, still no connection. /Users/lgouda/.jupyter/jupyter_notebook_config.json If you delete or upgrade your python version, you might get a Kernel Error when trying to use Jupyter Notebooks! [D 19:47:26.056 NotebookApp] 200 GET /static/components/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (::1) 1.670000ms import pandas as pd The issue is that when i try launch either Jupyter Notebook or Jupyter Lab, I cannot connect to a running kernel. 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' I ran into the same problem today. like above errors [D 19:46:30.455 NotebookApp] Looking for jupyter_notebook_config in /Users/lgouda/.local/etc/jupyter DISABLED: use %pylab or %matplotlib in the notebook to enable matplotlib. File "C:\Anaconda\Lib\site-packages\ipykernel_launcher.py", line 15, in Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error [I 2022-10-14 13:28:24.312 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded. [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 [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:47:26.182 NotebookApp] 200 GET /static/components/MathJax/extensions/TeX/newcommand.js?V=2.7.9 (::1) 1.090000ms raise value reraise(*exc_info) [C 18:45:07.698 NotebookApp], [I 18:45:11.695 NotebookApp] Creating new notebook in return method(app, *args, **kwargs) It comes back and says could not find a version that satisfies the requirement 5.1.1. I don't have a Windows system to get more details - so can only go by what is given and what others have provided - sorry. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend_init_.py", line 40, in [I 21:03:42.682 NotebookApp] http://localhost.localdomain:8888/ [D 21:03:42.407 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py [D 19:47:26.229 NotebookApp] Path components/MathJax/extensions/Safe.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/MathJax/extensions/Safe.js 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.