You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried the other applicable steps from the Troubleshooting Guide
Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
I am having the following error on Spyder 5.5.1. I reinstalled Anaconda and am still having the same issue. Would anyone be able to help?
What steps reproduce the problem?
What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)
The error is:
Traceback (most recent call last):
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 2142, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle,
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_core\utils_init_.py", line 165, in wrapped
return loop.run_until_complete(inner)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 96, in wrapper
raise e
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 87, in wrapper
out = await method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 435, in _async_start_kernel
kernel_cmd, kw = await self._async_pre_start_kernel(**kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 400, in _async_pre_start_kernel
kw = await self.provisioner.pre_launch(**kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\provisioning\local_provisioner.py", line 193, in pre_launch
km.write_connection_file(jupyter_session=jupyter_session)
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\connect.py", line 500, in write_connection_file
self.connection_file, cfg = write_connection_file(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\connect.py", line 156, in write_connection_file
with secure_write(fname) as f:
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_core\paths.py", line 990, in secure_write
fd = os.open(fname, open_flag, 0o0600)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'C:\Users\cont9209\AppData\Roaming\jupyter\runtime\kernele18b0b36252.json'
Versions
Spyder version: 5.5.1
Python version: 3.12
Qt version: NA
PyQt version: NA
Operating System name/version: Windows
Dependencies
PASTE DEPENDENCIES HERE
The text was updated successfully, but these errors were encountered:
Hey @Divya31-tech, thanks for report. This problem is generated because your user doesn't have permissions to write in this directory:
C:\Users\cont9209\AppData\Roaming\jupyter
Please go to that directory with the Windows explorer and make sure that you can create files inside it. For that you can follow the instructions found in this page:
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
I am having the following error on Spyder 5.5.1. I reinstalled Anaconda and am still having the same issue. Would anyone be able to help?
What steps reproduce the problem?
What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)
The error is:
Traceback (most recent call last):
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 2142, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle,
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_core\utils_init_.py", line 165, in wrapped
return loop.run_until_complete(inner)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 96, in wrapper
raise e
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 87, in wrapper
out = await method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 435, in _async_start_kernel
kernel_cmd, kw = await self._async_pre_start_kernel(**kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 400, in _async_pre_start_kernel
kw = await self.provisioner.pre_launch(**kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\provisioning\local_provisioner.py", line 193, in pre_launch
km.write_connection_file(jupyter_session=jupyter_session)
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\connect.py", line 500, in write_connection_file
self.connection_file, cfg = write_connection_file(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_client\connect.py", line 156, in write_connection_file
with secure_write(fname) as f:
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "C:\Users\cont9209\AppData\Local\anaconda3\Lib\site‑packages\jupyter_core\paths.py", line 990, in secure_write
fd = os.open(fname, open_flag, 0o0600)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'C:\Users\cont9209\AppData\Roaming\jupyter\runtime\kernele18b0b36252.json'
Versions
Dependencies
The text was updated successfully, but these errors were encountered: