[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 Making statements based on opinion; back them up with references or personal experience. generate default config file [D 19:47:26.178 NotebookApp] Paths used for configuration of common: Sign up for a free GitHub account to open an issue and contact its maintainers and the community. [W 13:16:55.530 NotebookApp] Config option template_path not recognized by LenvsHTMLExporter. Traceback (most recent call last): [D 21:03:47.081 NotebookApp] 304 GET /api/kernelspecs (172.16.48.232) 7.97ms and this is the full log from . This time it will work totally fine whether you open it from Prompt or Navigator. [W 13:16:50.929 NotebookApp] Config option template_path not recognized by ExporterCollapsibleHeadings. raise value Indefinite article before noun starting with "the". and on anaconda prompt File "C:\Anaconda\Lib\site-packages\zmq\backend_init_.py", line 27, in AttributeError: partially initialized module 'string' has no attribute 'ascii_letters' (most likely due to a circular import) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in Any notebooks I attempted to open in the same directory as where this file was had trouble connecting to the kernel. [I 19:46:31.318 NotebookApp] http://localhost:8888/?token=67847a24b1cd9dc07059177d26669194deee2b0a7ae614c2 [D 21:03:46.584 NotebookApp] Path components/text-encoding/lib/encoding.js served from /root/anaconda3/envs/test/lib/python3.6/site-packages/notebook/static/components/text-encoding/lib/encoding.js Did you mean one of: extra_template_paths, template_name, template_paths? exec(code, run_globals) exec(code, run_globals) File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq_init.py", line 50, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in This solved for me!!! [W 13:16:23.442 NotebookApp] Config option template_path not recognized by LenvsSlidesExporter. [D 21:03:47.041 NotebookApp] Paths used for configuration of common: from zmq import backend [D 19:47:26.055 NotebookApp] Path components/MathJax/MathJax.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/MathJax/MathJax.js raise value self.init_magics() obj, end = self.raw_decode(s, idx=w(s, 0).end()) 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. Traceback (most recent call last): Thanks for contributing an answer to Stack Overflow! [D 19:47:26.176 NotebookApp] Paths used for configuration of notebook: from ipykernel import kernelapp as app [D 19:47:19.262 NotebookApp] 200 GET /static/tree/js/main.min.js?v=273b8aef15d01395b404622cc721aafb91ec3d66772bc9219b63928a7cdaa42d0ad64275548080357561e793524dea45b1ab6c147a934b451b2bb82219c792b3 (::1) 2.660000ms from zmq import backend File "C:\Anaconda\Lib\site-packages\jupyter_client\connect.py", line 21, in I have Python 3.7.1 installed. This is well explained in answers to: Importing installed package from script raises "AttributeError: module has no attribute" or "ImportError: cannot import name". Well occasionally send you account related emails. This was referenced on Sep 22, 2020. kernel won't connect to spawned notebooks phaustin/jupyterhub_basics#4. ns = select_backend(first) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_launcher.py", line 15, in [I 17:15:16.492 NotebookApp] JupyterLab extension loaded from /Users/sidodalpozzolo/opt/anaconda3/lib/python3.8/site-packages/jupyterlab Traceback (most recent call last): app.initialize(argv) mod = import(name, fromlist=public_api) Someone said run "Python: Select interpreter to start Jupyter server", someone also said run"Notebook: Select Notebook Kernel" in your vscode. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\jupyter_client\connect.py", line 21, in raise value /Users/lgouda/opt/anaconda3/etc/jupyter/jupyter_notebook_config.json File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\cython_init.py", line 6, in import (constants, error, message, context, [I 13:43:35.840 NotebookApp] Kernel started: b237ab44-09e7-4f68-b13c-1607b1dd03ca, name: python3 File "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\config\configurable.py", line 412, in instance The detail please refer to, As its currently written, your answer is unclear. @Carl Neely Welcome to Microsoft Q&A, Thanks for posting your query here! p = sre_parse.parse(p, flags) [W 13:17:45.732 NotebookApp] 404 GET /api/kernels/b165f980-2053-418e-ae80-4c5d9403e306/channels?session_id=1e16083640f3443dab046a9fdb78f070 (::1) 49.000000ms referer=None exec(code, run_globals) [D 19:47:26.194 NotebookApp] 304 GET /api/kernelspecs (::1) 1.260000ms import (constants, error, message, context, Maybe you can have a try. The debug flag uses two dashes and no space between the second dash and the string 'debug'. [D 19:47:26.059 NotebookApp] 304 GET /custom/custom.css (::1) 0.560000ms [D 17:14:33.067 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter from .connect import * everything works fine exept for the kernel. import _socket Jupyter Notebook Notebook"Connecting kernel" pipjupyterupdate . Traceback (most recent call last): super(ZMQInteractiveShell, self).init_magics() File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 40, in Your home for data science. from . [W 13:27:39.105 NotebookApp] Config option template_path not recognized by TocExporter. File "/Users/vishnuc/anaconda3/lib/python3.7/site-packages/notebook/services/kernels/handlers.py", line 274, in open ns = select_backend(first) p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0) [W 13:27:39.330 NotebookApp] Config option template_path not recognized by LenvsHTMLExporter. 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. Check your network connection or notebook server configuration. I'm having problems configuring the correct version Python in VS Code / Jupyter. File "C:\ProgramData\Anaconda3\lib\sre_compile.py", line 764, in compile Kindly refer the attachment. [D 21:03:47.174 NotebookApp] 304 GET /static/components/MathJax/extensions/MathML/content-mathml.js?V=2.7.6 (172.16.48.232) 1.47ms [I 13:11:57.394 NotebookApp] http://localhost:8888/?token=0b9c64d4cfe04a4d0a9f5ffbba1589b4d876b6f1c24f5980 ImportError: DLL load failed: The specified module could not be found. If defined, Now we will run this next line of code to merge the kernel to our virtual environment and install it for this user. File "C:\Anaconda\Lib\site-packages\ipykernel\connect.py", line 18, in [D 19:47:35.384 NotebookApp] Connecting to: tcp://127.0.0.1:58644 Asking for help, clarification, or responding to other answers. I have tried to run Anaconda while my internet security software is disabled, but I still have problem with it :( ! I have found this same issue, and identified it only happens with Chrome standard browser. Press CTRL + C and create a new virtual environment using this code. Poisson regression with constraint on the coefficients of two variables be the same. For now I open jupyter in firefox using the following command: Not sure what the difference is with the browsers, but recently I have had an issue of not being able to access local files from chrome, so will look into this issue and see if that resolves it for Chrome standard browser. File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\runpy.py", line 87, in run_code Thanks! [W 13:43:50.899 NotebookApp] Kernel b237ab44-09e7-4f68-b13c-1607b1dd03ca died, removing from map. [D 19:48:44.229 NotebookApp] Initializing websocket connection /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels [W 18:45:27.898 NotebookApp] Kernel 769e9e62-8674-4b61-b21d-8b66574f023f died, removing from map. [D 21:03:47.392 NotebookApp] Connecting to: tcp://:39233 File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 40, in Did you mean one of: extra_template_paths, template_name, template_paths? [D 19:46:30.455 NotebookApp] Looking for jupyter_notebook_config in /Users/lgouda/.jupyter Do you have any other suggestions? [W 01:43:14.974 NotebookApp] KernelRestarter: restart failed dyld: Library not loaded: @rpath/libreadline.6.2.dylib [D 19:47:26.287 NotebookApp] Kernel args: {'kernel_name': 'python3', 'cwd': '/Users/lgouda'} [W 15:39:33.524 NotebookApp] Notebook Untitled2.ipynb is not trusted There should be information pertaining to the kernel's startup. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 85, in run_code from zmq import backend [W 19:50:41.631 NotebookApp] 404 GET /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels?session_id=1a5b662a117e47d981bb76f1f6fefc12 (::1): Kernel does not exist: b8710be7-c12c-44a5-a501-84bede249224. from ipykernel import kernelapp as app return run_code(code, main_globals, None, This directory can be found using jupyter --paths and looking in the runtime directory for files named kernel-UUID.json. what's the difference between "the killing machine" and "the machine that's killing". (Basically Dog-people). Did you mean one of: extra_template_paths, template_name, template_paths? [D 17:16:48.866 NotebookApp] 304 GET /nbextensions/nb_conda/conda.css (172.16.48.232) 1.15ms [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 However, looking at the applicable code it appears to be trying to decipher the value of your PATHEXT environment variable and I suggest following the instructions starting with this comment. (base) C:\Users\PC02>jupyter-notebook File "c:\Users\stephen.bonacci.vscode\extensions\ms-python.python-2022.16.1\pythonFiles\lib\python\debugpy\launcher/../..\debugpy\common\messaging.py", line 19, in File "C:\Users\Lenovo\anaconda3\envs\ajitenv\lib\site-packages\zmq\backend_init_.py", line 40, in Just click in a cell, then click either 'Run All Cells' or 'Run Cell and Below' and you'll see the Jupyter kernel initiate. File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend\select.py", line 28, in select_backend File "C:\Users\kimish.DESKTOP-PT5P6T3\string.py", line 1, in exec(code, run_globals) Would Marx consider salary workers to be members of the proleteriat? exec(code, run_globals) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_launcher.py", line 15, in I have tried to run Anaconda while my At first, it seemed kernel was connecting with a new notebook but after some time kernel was connecting in a new notebook. I've tried reinstalling Anaconda and upgrading Jupyter Notebook but it doesn't seem to work. [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 How could one outsmart a tracking implant? [W 19:47:41.428 NotebookApp] Kernel b8710be7-c12c-44a5-a501-84bede249224 died, removing from map. inst = cls(args, **kwargs) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_launcher.py", line 15, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\runpy.py", line 193, in run_module_as_main /etc/jupyter/nbconfig/notebook.json [W 01:44:00.144 NotebookApp] Timeout waiting for kernel_info reply from 0f138dea-b642-4fbf-8b5a-a22f979fb603 Glad to hear that @Dipon12. [D 21:04:47.703 NotebookApp] Connecting to: tcp://:48108 import zmq mod = import(name, fromlist=public_api) File "C:\Anaconda\Lib\site-packages\jupyter_client_init.py", line 4, in [D 17:16:36.170 NotebookApp] 200 GET /api/contents?type=directory&=1572916567942 (172.16.48.232) 5.11ms import (constants, error, message, context, open_result = handler.open(*handler.open_args, **handler.open_kwargs) import (constants, error, message, context, [D 17:16:00.354 NotebookApp] Paths used for configuration of tree: [I 18:47:12.859 NotebookApp] Saving file at /Untitled19.ipynb. Reason: image not found [D 19:47:26.181 NotebookApp] Path components/MathJax/extensions/TeX/newcommand.js served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/MathJax/extensions/TeX/newcommand.js [W 19:48:28.085 NotebookApp] 404 GET /api/kernels/b8710be7-c12c-44a5-a501-84bede249224/channels?session_id=1a5b662a117e47d981bb76f1f6fefc12 (::1) 29.360000ms referer=None 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. ImportError: DLL load failed: The specified module could not be found. return _compile(pattern, flags) [W 13:16:24.449 NotebookApp] Config option template_path not recognized by TocExporter. exec(code, run_globals) Did you mean one of: extra_template_paths, template_name, template_paths? from .core.application import Application 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. [D 19:47:26.292 NotebookApp] 201 POST /api/sessions (::1) 43.540000ms import zmq code = _escape(source, this, state) File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\ipykernel_init.py", line 2, in Why Is PNG file with Drop Shadow in Flutter Web App Grainy? BrokenPipeError: [Errno 32] Broken pipe Don't open the notebook in a browser after startup. [W 13:16:52.154 NotebookApp] Config option template_path not recognized by LenvsTocHTMLExporter. Did you mean one of: extra_template_paths, template_name, template_paths? [D 21:03:46.964 NotebookApp] 200 GET /static/services/contents.js?v=20191105210342 (172.16.48.232) 1.73ms self.init_kernel() File "C:\Anaconda\Lib\site-packages\zmq_init.py", line 55, in File "C:\Anaconda\Lib\site-packages\zmq\backend\cython_init.py", line 6, in File "C:\Users\jamil\anaconda3\envs\gpu2\lib\site-packages\zmq\backend_init_.py", line 27, in [D 19:47:26.293 NotebookApp] 200 GET /kernelspecs/python3/logo-64x64.png (::1) 2.270000ms conda create -n py 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\select.py", line 28, in select_backend Hi, I installed Jupyter via anaconda with my students on their private computers. [D 19:47:25.567 NotebookApp] Path components/codemirror/lib/codemirror.css served from /Users/lgouda/opt/anaconda3/lib/python3.9/site-packages/notebook/static/components/codemirror/lib/codemirror.css 1y0una 10 mo. import zmq Traceback (most recent call last): File "