Hello All,
I am new to jupyter notebook and trying to run with give below errors. I also updated the configuration file and set the c.NotebookApp.ip = ‘127.0.0.1’,
==
I 2022-02-22 19:47:53.084 LabApp] JupyterLab application directory is C:\Users\AlokKumar\anaconda3\share\jupyter\lab
[I 19:47:53.105 NotebookApp] Serving notebooks from local directory: C:\Users\AlokKumar
[I 19:47:53.106 NotebookApp] Jupyter Notebook 6.4.5 is running at:
[I 19:47:53.106 NotebookApp] http://localhost:8888/?token=fe7b6c3d9e8fe69cf5905289ca1ece65a8f55b5391698c43
[I 19:47:53.106 NotebookApp] or http://127.0.0.1:8888/?token=fe7b6c3d9e8fe69cf5905289ca1ece65a8f55b5391698c43
[I 19:47:53.106 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 19:47:53.189 NotebookApp]
To access the notebook, open this file in a browser:
file:///C:/Users/AlokKumar/AppData/Roaming/jupyter/runtime/nbserver-14180-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=fe7b6c3d9e8fe69cf5905289ca1ece65a8f55b5391698c43
or http://127.0.0.1:8888/?token=fe7b6c3d9e8fe69cf5905289ca1ece65a8f55b5391698c43
[I 19:48:04.092 NotebookApp] Creating new notebook in
[I 19:48:11.762 NotebookApp] Kernel started: 978dbcff-a33c-42c0-b13b-12aebaf6a6e4, name: python3
Traceback (most recent call last):
File “C:\Users\AlokKumar\anaconda3\lib\runpy.py”, line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File “C:\Users\AlokKumar\anaconda3\lib\runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “C:\Users\AlokKumar\anaconda3\lib\site-packages\ipykernel_launcher.py”, line 16, in
app.launch_new_instance()
File “C:\Users\AlokKumar\anaconda3\lib\site-packages\traitlets\config\application.py”, line 846, in launch_instance
app.start()
File “C:\Users\AlokKumar\anaconda3\lib\site-packages\ipykernel\kernelapp.py”, line 665, in start
self.kernel.start()
File “C:\Users\AlokKumar\anaconda3\lib\site-packages\ipykernel\ipkernel.py”, line 178, in start
super(IPythonKernel, self).start()
File “C:\Users\AlokKumar\anaconda3\lib\site-packages\ipykernel\kernelbase.py”, line 496, in start
asyncio.run_coroutine_threadsafe(self.poll_control_queue(), control_loop.asyncio_loop)
File “C:\Users\AlokKumar\anaconda3\lib\asyncio\tasks.py”, line 933, in run_coroutine_threadsafe
loop.call_soon_threadsafe(callback)
File “C:\Users\AlokKumar\anaconda3\lib\asyncio\base_events.py”, line 791, in call_soon_threadsafe
self._check_closed()
File “C:\Users\AlokKumar\anaconda3\lib\asyncio\base_events.py”, line 510, in _check_closed
raise RuntimeError(‘Event loop is closed’)
RuntimeError: Event loop is closed
sys:1: RuntimeWarning: coroutine ‘Kernel.poll_control_queue’ was never awaited
[I 19:48:17.742 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
Exception in thread Thread-6:
Traceback (most recent call last):
File “C:\Users\AlokKumar\anaconda3\lib\threading.py”, line 973, in _bootstrap_inner
self.run()
File “C:\Users\AlokKumar\anaconda3\lib\threading.py”, line 910, in run
self._target(*self._args, **self._kwargs)
File “C:\Users\AlokKumar\anaconda3\lib\site-packages\ipykernel\iostream.py”, line 81, in _thread_main
self.io_loop.start()
File “C:\Users\AlokKumar\anaconda3\lib\site-packages\tornado\platform\asyncio.py”, line 199, in start
self.asyncio_loop.run_forever()
File “C:\Users\AlokKumar\anaconda3\lib\asyncio\base_events.py”, line 596, in run_forever
self._run_once()
File “C:\Users\AlokKumar\anaconda3\lib\asyncio\base_events.py”, line 1854, in _run_once
event_list = self._selector.select(timeout)
File “C:\Users\AlokKumar\anaconda3\lib\selectors.py”, line 324, in select
r, w, _ = self._select(self._readers, self._writers, [], timeout)
File “C:\Users\AlokKumar\anaconda3\lib\selectors.py”, line 315, in _select
r, w, x = select.select(r, w, w, timeout)
OSError: [WinError 10038] An operation was attempted on something that is not a socket
Regards
Alok Beheria