-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Kernel Error while running Jupyter Notebook in Python3 #5109
Comments
Please start with this comment. If you find that worked, please close this issue; otherwise provide the updated traceback information. |
I got these errors with Jupyter notebook: Traceback (most recent call last): |
Solved as follow: |
Traceback (most recent call last):
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\tornado\web.py", line 1699, in _execute
result = await result
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\notebook\services\sessions\handlers.py", line 72, in post
type=mtype))
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 88, in create_session
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 101, in start_kernel_for_session
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\tornado\gen.py", line 209, in wrapper
yielded = next(result)
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 168, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\jupyter_client\manager.py", line 240, in start_kernel
self.write_connection_file()
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\jupyter_client\connect.py", line 547, in write_connection_file
sock = self.context.socket(socket_type)
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\jupyter_client\connect.py", line 212, in write_connection_file
else:
File "C:\Users\INCT-ParthVats\Anaconda3\lib\contextlib.py", line 112, in enter
return next(self.gen)
File "C:\Users\INCT-ParthVats\Anaconda3\lib\site-packages\jupyter_client\connect.py", line 102, in secure_write
sock.bind((ip, 0))
PermissionError: [Errno 13] Permission denied: 'C:\Users\INCT-ParthVats\AppData\Roaming\jupyter\runtime\kernel-d17eaab9-0f90-4f07-8455-9a4e72d6da38.json'
The text was updated successfully, but these errors were encountered: