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
Traceback (most recent call last):
File "C:\Users\minyi\anaconda3\Lib\site‑packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 1719, in create_new_client
kernel_handler = self.get_cached_kernel(kernel_spec, cache=cache)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\minyi\anaconda3\Lib\site‑packages\spyder\plugins\ipythonconsole\widgets\mixins.py", line 59, in get_cached_kernel
new_kernel_handler = KernelHandler.new_from_spec(kernel_spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\minyi\anaconda3\Lib\site‑packages\spyder\plugins\ipythonconsole\utils\kernel_handler.py", line 393, in new_from_spec
kernel_manager.start_kernel(
File "C:\Users\minyi\anaconda3\Lib\site‑packages\jupyter_core\utils_init_.py", line 165, in wrapped
return loop.run_until_complete(inner)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\minyi\anaconda3\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\minyi\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 96, in wrapper
raise e
File "C:\Users\minyi\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 87, in wrapper
out = await method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\minyi\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\minyi\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\minyi\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\minyi\anaconda3\Lib\site‑packages\jupyter_client\connect.py", line 500, in write_connection_file
self.connection_file, cfg = write_connection_file(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\minyi\anaconda3\Lib\site‑packages\jupyter_client\connect.py", line 156, in write_connection_file
with secure_write(fname) as f:
File "C:\Users\minyi\anaconda3\Lib\contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "C:\Users\minyi\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\minyi\AppData\Roaming\jupyter\runtime\kernel‑d2836240af15.json'
Description
What steps will reproduce the problem?
The error is:
Traceback (most recent call last):
File "C:\Users\minyi\anaconda3\Lib\site‑packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 1719, in create_new_client
kernel_handler = self.get_cached_kernel(kernel_spec, cache=cache)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\minyi\anaconda3\Lib\site‑packages\spyder\plugins\ipythonconsole\widgets\mixins.py", line 59, in get_cached_kernel
new_kernel_handler = KernelHandler.new_from_spec(kernel_spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\minyi\anaconda3\Lib\site‑packages\spyder\plugins\ipythonconsole\utils\kernel_handler.py", line 393, in new_from_spec
kernel_manager.start_kernel(
File "C:\Users\minyi\anaconda3\Lib\site‑packages\jupyter_core\utils_init_.py", line 165, in wrapped
return loop.run_until_complete(inner)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\minyi\anaconda3\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\minyi\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 96, in wrapper
raise e
File "C:\Users\minyi\anaconda3\Lib\site‑packages\jupyter_client\manager.py", line 87, in wrapper
out = await method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\minyi\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\minyi\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\minyi\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\minyi\anaconda3\Lib\site‑packages\jupyter_client\connect.py", line 500, in write_connection_file
self.connection_file, cfg = write_connection_file(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\minyi\anaconda3\Lib\site‑packages\jupyter_client\connect.py", line 156, in write_connection_file
with secure_write(fname) as f:
File "C:\Users\minyi\anaconda3\Lib\contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "C:\Users\minyi\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\minyi\AppData\Roaming\jupyter\runtime\kernel‑d2836240af15.json'
Versions
Dependencies
Environment
Environment
The text was updated successfully, but these errors were encountered: