Skip to content
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

PermissionError when writing kernel connection file #23124

Open
katbrookchen230 opened this issue Nov 30, 2024 · 3 comments
Open

PermissionError when writing kernel connection file #23124

katbrookchen230 opened this issue Nov 30, 2024 · 3 comments

Comments

@katbrookchen230
Copy link

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

  • Spyder version: 6.0.1 (conda)
  • Python version: 3.12.7 64-bit
  • Qt version: 5.15.2
  • PyQt5 version: 5.15.10
  • Operating System: Windows-11-10.0.22631-SP0

Dependencies

# Mandatory:
aiohttp >=3.9.3                  :  3.10.5 (OK)
asyncssh >=2.14.0,<3.0.0         :  2.17.0 (OK)
atomicwrites >=1.2.0             :  1.4.0 (OK)
chardet >=2.0.0                  :  4.0.0 (OK)
cloudpickle >=0.5.0              :  3.0.0 (OK)
cookiecutter >=1.6.0             :  2.6.0 (OK)
diff_match_patch >=20181111      :  20200713 (OK)
github >=2.3.0                   :  2.4.0 (OK)
importlib_metadata >=4.6.0       :  7.0.1 (OK)
intervaltree >=3.0.2             :  3.1.0 (OK)
IPython >=8.13.0,<9.0.0,!=8.17.1 :  8.27.0 (OK)
jedi >=0.17.2,<0.20.0            :  0.19.1 (OK)
jellyfish >=0.7                  :  1.0.1 (OK)
jsonschema >=3.2.0               :  4.23.0 (OK)
keyring >=17.0.0                 :  24.3.1 (OK)
nbconvert >=4.0                  :  7.16.4 (OK)
numpydoc >=0.6.0                 :  1.7.0 (OK)
parso >=0.7.0,<0.9.0             :  0.8.3 (OK)
pexpect >=4.4.0                  :  4.8.0 (OK)
pickleshare >=0.4                :  0.7.5 (OK)
psutil >=5.3                     :  5.9.0 (OK)
pygments >=2.0                   :  2.15.1 (OK)
pylint >=3.1,<4                  :  3.2.7 (OK)
pylint_venv >=3.0.2              :  3.0.3 (OK)
pyls_spyder >=0.4.0              :  0.4.0 (OK)
pylsp >=1.12.0,<1.13.0           :  1.12.0 (OK)
pylsp_black >=2.0.0,<3.0.0       :  2.0.0 (OK)
pyuca >=1.2                      :  1.2 (OK)
qdarkstyle >=3.2.0,<3.3.0        :  3.2.3 (OK)
qstylizer >=0.2.2                :  0.2.2 (OK)
qtawesome >=1.3.1,<1.4.0         :  1.3.1 (OK)
qtconsole >=5.6.0,<5.7.0         :  5.6.0 (OK)
qtpy >=2.4.0                     :  2.4.1 (OK)
rtree >=0.9.7                    :  1.0.1 (OK)
setuptools >=49.6.0              :  75.1.0 (OK)
sphinx >=0.6.6                   :  7.3.7 (OK)
spyder_kernels >=3.0.0,<3.1.0    :  3.0.0 (OK)
superqt >=0.6.2,<1.0.0           :  0.6.7 (OK)
textdistance >=4.2.0             :  4.2.1 (OK)
three_merge >=0.1.1              :  0.1.1 (OK)
watchdog >=0.10.3                :  4.0.1 (OK)
yarl >=1.9.4                     :  1.11.0 (OK)
zmq >=24.0.0                     :  25.1.2 (OK)

# Optional:
cython >=0.21                    :  None (NOK)
matplotlib >=3.0.0               :  3.9.2 (OK)
numpy >=1.7                      :  1.26.4 (OK)
pandas >=1.1.1                   :  2.2.2 (OK)
scipy >=0.17.0                   :  1.13.1 (OK)
sympy >=0.7.3                    :  1.13.2 (OK)

Environment

Environment
# packages in environment at C:\Users\minyi\anaconda3:
#
# Name                    Version                   Build  Channel
_anaconda_depends         2024.10             py312_mkl_0  
aiobotocore               2.12.3          py312haa95532_0  
aiohappyeyeballs          2.4.0           py312haa95532_0  
aiohttp                   3.10.5          py312h827c3e9_0  
aioitertools              0.7.1              pyhd3eb1b0_0  
aiosignal                 1.2.0              pyhd3eb1b0_0  
alabaster                 0.7.16          py312haa95532_0  
altair                    5.0.1           py312haa95532_0  
anaconda-anon-usage       0.4.4           py312hfc23b7f_100  
anaconda-catalogs         0.2.0           py312haa95532_1  
anaconda-client           1.12.3          py312haa95532_0  
anaconda-cloud-auth       0.5.1           py312haa95532_0  
anaconda-navigator        2.6.3           py312haa95532_0  
anaconda-project          0.11.1          py312haa95532_0  
anaconda_powershell_prompt 1.1.0                haa95532_0  
anaconda_prompt           1.1.0                haa95532_0  
annotated-types           0.6.0           py312haa95532_0  
anyio                     4.2.0           py312haa95532_0  
aom                       3.6.0                hd77b12b_0  
appdirs                   1.4.4              pyhd3eb1b0_0  
archspec                  0.2.3              pyhd3eb1b0_0  
argon2-cffi               21.3.0             pyhd3eb1b0_0  
argon2-cffi-bindings      21.2.0          py312h2bbff1b_0  
arrow                     1.2.3           py312haa95532_1  
arrow-cpp                 16.1.0               h7cd61ee_0  
astroid                   3.2.4           py312haa95532_0  
astropy                   6.1.3           py312h827c3e9_0  
astropy-iers-data         0.2024.9.2.0.33.23 py312haa95532_0  
asttokens                 2.0.5              pyhd3eb1b0_0  
async-lru                 2.0.4           py312haa95532_0  
asyncssh                  2.17.0          py312haa95532_0  
atomicwrites              1.4.0                      py_0  
attrs                     23.1.0          py312haa95532_0  
automat                   20.2.0                     py_0  
autopep8                  2.0.4              pyhd3eb1b0_0  
aws-c-auth                0.6.19               h2bbff1b_0  
aws-c-cal                 0.5.20               h2bbff1b_0  
aws-c-common              0.8.5                h2bbff1b_0  
aws-c-compression         0.2.16               h2bbff1b_0  
aws-c-event-stream        0.2.15               hd77b12b_0  
aws-c-http                0.6.25               h2bbff1b_0  
aws-c-io                  0.13.10              h2bbff1b_0  
aws-c-mqtt                0.7.13               h2bbff1b_0  
aws-c-s3                  0.1.51               h2bbff1b_0  
aws-c-sdkutils            0.1.6                h2bbff1b_0  
aws-checksums             0.1.13               h2bbff1b_0  
aws-crt-cpp               0.18.16              hd77b12b_0  
aws-sdk-cpp               1.10.55              hd77b12b_0  
babel                     2.11.0          py312haa95532_0  
bcrypt                    3.2.0           py312h2bbff1b_1  
beautifulsoup4            4.12.3          py312haa95532_0  
binaryornot               0.4.4              pyhd3eb1b0_1  
black                     24.8.0          py312haa95532_0  
blas                      1.0                         mkl  
bleach                    4.1.0              pyhd3eb1b0_0  
blinker                   1.6.2           py312haa95532_0  
blosc                     1.21.3               h6c2663c_0  
bokeh                     3.6.0           py312haa95532_0  
boltons                   23.0.0          py312haa95532_0  
boost-cpp                 1.82.0               h59b6b97_2  
botocore                  1.34.69         py312haa95532_0  
bottleneck                1.3.7           py312he558020_0  
brotli                    1.0.9                h2bbff1b_8  
brotli-bin                1.0.9                h2bbff1b_8  
brotli-python             1.0.9           py312hd77b12b_8  
bzip2                     1.0.8                h2bbff1b_6  
c-ares                    1.19.1               h2bbff1b_0  
c-blosc2                  2.12.0               h2f4ed9d_0  
ca-certificates           2024.11.26           haa95532_0  
cachetools                5.3.3           py312haa95532_0  
certifi                   2024.8.30       py312haa95532_0  
cffi                      1.17.1          py312h827c3e9_0  
cfitsio                   3.470                h2bbff1b_7  
chardet                   4.0.0           py312haa95532_1003  
charls                    2.2.0                h6c2663c_0  
charset-normalizer        3.3.2              pyhd3eb1b0_0  
click                     8.1.7           py312haa95532_0  
cloudpickle               3.0.0           py312haa95532_0  
colorama                  0.4.6           py312haa95532_0  
colorcet                  3.1.0           py312haa95532_0  
comm                      0.2.1           py312haa95532_0  
conda                     24.11.0         py312haa95532_0  
conda-build               24.9.0          py312haa95532_0  
conda-content-trust       0.2.0           py312haa95532_1  
conda-index               0.5.0           py312haa95532_0  
conda-libmamba-solver     24.9.0             pyhd3eb1b0_0  
conda-pack                0.7.1           py312haa95532_0  
conda-package-handling    2.3.0           py312haa95532_0  
conda-package-streaming   0.10.0          py312haa95532_0  
conda-repo-cli            1.0.114         py312haa95532_0  
conda-token               0.5.0              pyhd3eb1b0_0  
constantly                23.10.4         py312haa95532_0  
contourpy                 1.2.0           py312h59b6b97_0  
cookiecutter              2.6.0           py312haa95532_0  
cryptography              43.0.0          py312h89fc84f_0  
cssselect                 1.2.0           py312haa95532_0  
curl                      8.9.1                h3f729d1_0  
cycler                    0.11.0             pyhd3eb1b0_0  
cytoolz                   0.12.2          py312h2bbff1b_0  
dask                      2024.8.2        py312haa95532_0  
dask-core                 2024.8.2        py312haa95532_0  
dask-expr                 1.1.13          py312haa95532_0  
datashader                0.16.3          py312haa95532_0  
dav1d                     1.2.1                h2bbff1b_0  
debugpy                   1.6.7           py312hd77b12b_0  
decorator                 5.1.1              pyhd3eb1b0_0  
defusedxml                0.7.1              pyhd3eb1b0_0  
deprecated                1.2.13          py312haa95532_0  
diff-match-patch          20200713           pyhd3eb1b0_0  
dill                      0.3.8           py312haa95532_0  
distributed               2024.8.2        py312haa95532_0  
distro                    1.9.0           py312haa95532_0  
docstring-to-markdown     0.11            py312haa95532_0  
docutils                  0.18.1          py312haa95532_3  
et_xmlfile                1.1.0           py312haa95532_1  
executing                 0.8.3              pyhd3eb1b0_0  
expat                     2.6.3                h5da7b33_0  
filelock                  3.13.1          py312haa95532_0  
flake8                    7.1.1           py312haa95532_0  
flask                     3.0.3           py312haa95532_0  
fmt                       9.1.0                h6d14046_1  
fonttools                 4.51.0          py312h2bbff1b_0  
freetype                  2.12.1               ha860e81_0  
frozendict                2.4.2           py312haa95532_0  
frozenlist                1.4.0           py312h2bbff1b_0  
fsspec                    2024.6.1        py312haa95532_0  
gensim                    4.3.3           py312h0158946_0  
gflags                    2.2.2                hd77b12b_1  
giflib                    5.2.1                h8cc25b3_3  
gitdb                     4.0.7              pyhd3eb1b0_0  
gitpython                 3.1.43          py312haa95532_0  
glog                      0.5.0                hd77b12b_1  
greenlet                  3.0.1           py312hd77b12b_0  
h11                       0.14.0          py312haa95532_0  
h5py                      3.11.0          py312h59a1360_0  
hdf5                      1.12.1               h51c971a_3  
heapdict                  1.0.1              pyhd3eb1b0_0  
holoviews                 1.19.1          py312haa95532_0  
httpcore                  1.0.2           py312haa95532_0  
httpx                     0.27.0          py312haa95532_0  
hvplot                    0.11.0          py312haa95532_0  
hyperlink                 21.0.0             pyhd3eb1b0_0  
icc_rt                    2022.1.0             h6049295_2  
icu                       73.1                 h6c2663c_0  
idna                      3.7             py312haa95532_0  
imagecodecs               2023.1.23       py312hd5bf116_1  
imageio                   2.33.1          py312haa95532_0  
imagesize                 1.4.1           py312haa95532_0  
imbalanced-learn          0.12.3          py312haa95532_1  
importlib-metadata        7.0.1           py312haa95532_0  
incremental               22.10.0            pyhd3eb1b0_0  
inflection                0.5.1           py312haa95532_1  
iniconfig                 1.1.1              pyhd3eb1b0_0  
intake                    2.0.7           py312haa95532_0  
intel-openmp              2023.1.0         h59b6b97_46320  
intervaltree              3.1.0              pyhd3eb1b0_0  
ipykernel                 6.29.5          py312haa95532_0  
ipython                   8.27.0          py312haa95532_0  
ipython_genutils          0.2.0              pyhd3eb1b0_1  
ipywidgets                7.8.1           py312haa95532_0  
isort                     5.13.2          py312haa95532_0  
itemadapter               0.3.0              pyhd3eb1b0_0  
itemloaders               1.1.0           py312haa95532_0  
itsdangerous              2.2.0           py312haa95532_0  
jaraco.classes            3.2.1              pyhd3eb1b0_0  
jedi                      0.19.1          py312haa95532_0  
jellyfish                 1.0.1           py312h36a85e1_0  
jinja2                    3.1.4           py312haa95532_0  
jmespath                  1.0.1           py312haa95532_0  
joblib                    1.4.2           py312haa95532_0  
jpeg                      9e                   h827c3e9_3  
jq                        1.6                  haa95532_1  
json5                     0.9.6              pyhd3eb1b0_0  
jsonpatch                 1.33            py312haa95532_1  
jsonpointer               2.1                pyhd3eb1b0_0  
jsonschema                4.23.0          py312haa95532_0  
jsonschema-specifications 2023.7.1        py312haa95532_0  
jupyter                   1.0.0           py312haa95532_9  
jupyter-lsp               2.2.0           py312haa95532_0  
jupyter_client            8.6.0           py312haa95532_0  
jupyter_console           6.6.3           py312haa95532_1  
jupyter_core              5.7.2           py312haa95532_0  
jupyter_events            0.10.0          py312haa95532_0  
jupyter_server            2.14.1          py312haa95532_0  
jupyter_server_terminals  0.4.4           py312haa95532_1  
jupyterlab                4.2.5           py312haa95532_0  
jupyterlab-variableinspector 3.1.0           py312haa95532_0  
jupyterlab_pygments       0.1.2                      py_0  
jupyterlab_server         2.27.3          py312haa95532_0  
jupyterlab_widgets        1.0.0              pyhd3eb1b0_1  
keyring                   24.3.1          py312haa95532_0  
kiwisolver                1.4.4           py312hd77b12b_0  
krb5                      1.20.1               h5b6d351_0  
lazy-object-proxy         1.10.0          py312h2bbff1b_0  
lazy_loader               0.4             py312haa95532_0  
lcms2                     2.12                 h83e58a3_0  
lerc                      3.0                  hd77b12b_0  
libabseil                 20240116.2      cxx17_h5da7b33_0  
libaec                    1.0.4                h33f27b4_1  
libarchive                3.7.4                h9243413_0  
libavif                   0.11.1               h2bbff1b_0  
libboost                  1.82.0               h3399ecb_2  
libbrotlicommon           1.0.9                h2bbff1b_8  
libbrotlidec              1.0.9                h2bbff1b_8  
libbrotlienc              1.0.9                h2bbff1b_8  
libclang                  14.0.6          default_hb5a9fac_1  
libclang13                14.0.6          default_h8e68704_1  
libcurl                   8.9.1                h0416ee5_0  
libdeflate                1.17                 h2bbff1b_1  
libevent                  2.1.12               h56d1f94_1  
libffi                    3.4.4                hd77b12b_1  
libgrpc                   1.62.2               hf25190f_0  
libiconv                  1.16                 h2bbff1b_3  
liblief                   0.12.3               hd77b12b_0  
libmamba                  1.5.8                h99b1521_3  
libmambapy                1.5.8           py312h77c03ed_3  
libpng                    1.6.39               h8cc25b3_0  
libpq                     12.17                h906ac69_0  
libprotobuf               4.25.3               hf2fb9eb_0  
libsodium                 1.0.18               h62dcd97_0  
libsolv                   0.7.24               h23ce68f_1  
libspatialindex           1.9.3                h6c2663c_0  
libssh2                   1.11.0               h291bd65_0  
libthrift                 0.15.0               h4364b78_2  
libtiff                   4.5.1                hd77b12b_0  
libwebp-base              1.3.2                h2bbff1b_0  
libxml2                   2.13.1               h24da03e_2  
libxslt                   1.1.41               h0739af5_0  
libzopfli                 1.0.3                ha925a31_0  
linkify-it-py             2.0.0           py312haa95532_0  
llvmlite                  0.43.0          py312hf2fb9eb_0  
locket                    1.0.0           py312haa95532_0  
lxml                      5.2.1           py312h395c83e_1  
lz4                       4.3.2           py312h2bbff1b_0  
lz4-c                     1.9.4                h2bbff1b_1  
lzo                       2.10                 he774522_2  
m2-msys2-runtime          2.5.0.17080.65c939c               3  
m2-patch                  2.7.5                         2  
m2w64-libwinpthread-git   5.0.0.4634.697f757               2  
markdown                  3.4.1           py312haa95532_0  
markdown-it-py            2.2.0           py312haa95532_1  
markupsafe                2.1.3           py312h2bbff1b_0  
matplotlib                3.9.2           py312haa95532_0  
matplotlib-base           3.9.2           py312hbdc63d0_0  
matplotlib-inline         0.1.6           py312haa95532_0  
mccabe                    0.7.0              pyhd3eb1b0_0  
mdit-py-plugins           0.3.0           py312haa95532_0  
mdurl                     0.1.0           py312haa95532_0  
menuinst                  2.1.2           py312h5da7b33_0  
mistune                   2.0.4           py312haa95532_0  
mkl                       2023.1.0         h6b88ed4_46358  
mkl-service               2.4.0           py312h2bbff1b_1  
mkl_fft                   1.3.10          py312h827c3e9_0  
mkl_random                1.2.7           py312h0158946_0  
more-itertools            10.3.0          py312haa95532_0  
mpmath                    1.3.0           py312haa95532_0  
msgpack-python            1.0.3           py312h59b6b97_0  
msys2-conda-epoch         20160418                      1  
multidict                 6.0.4           py312h2bbff1b_0  
multipledispatch          0.6.0           py312haa95532_0  
mypy                      1.11.2          py312h827c3e9_0  
mypy_extensions           1.0.0           py312haa95532_0  
navigator-updater         0.5.1           py312haa95532_0  
nbclient                  0.8.0           py312haa95532_0  
nbconvert                 7.16.4          py312haa95532_0  
nbformat                  5.10.4          py312haa95532_0  
nest-asyncio              1.6.0           py312haa95532_0  
networkx                  3.3             py312haa95532_0  
nltk                      3.9.1           py312haa95532_0  
notebook                  7.2.2           py312haa95532_1  
notebook-shim             0.2.3           py312haa95532_0  
numba                     0.60.0          py312h0158946_0  
numexpr                   2.8.7           py312h96b7d27_0  
numpy                     1.26.4          py312hfd52020_0  
numpy-base                1.26.4          py312h4dde369_0  
numpydoc                  1.7.0           py312haa95532_0  
openjpeg                  2.5.2                hae555c5_0  
openpyxl                  3.1.5           py312h827c3e9_0  
openssl                   3.0.15               h827c3e9_0  
orc                       2.0.1                hd8d391b_0  
overrides                 7.4.0           py312haa95532_0  
packaging                 24.1            py312haa95532_0  
pandas                    2.2.2           py312h0158946_0  
pandocfilters             1.5.0              pyhd3eb1b0_0  
panel                     1.5.2           py312haa95532_0  
param                     2.1.1           py312haa95532_0  
paramiko                  2.8.1              pyhd3eb1b0_0  
parsel                    1.8.1           py312haa95532_0  
parso                     0.8.3              pyhd3eb1b0_0  
partd                     1.4.1           py312haa95532_0  
pathspec                  0.10.3          py312haa95532_0  
patsy                     0.5.6           py312haa95532_0  
pcre2                     10.42                h0ff8eda_1  
pexpect                   4.8.0              pyhd3eb1b0_3  
pickleshare               0.7.5           pyhd3eb1b0_1003  
pillow                    10.4.0          py312h827c3e9_0  
pip                       24.2            py312haa95532_0  
pkce                      1.0.3           py312haa95532_0  
pkginfo                   1.10.0          py312haa95532_0  
platformdirs              3.10.0          py312haa95532_0  
plotly                    5.24.1          py312hfc267ef_0  
pluggy                    1.0.0           py312haa95532_1  
ply                       3.11            py312haa95532_1  
prometheus_client         0.14.1          py312haa95532_0  
prompt-toolkit            3.0.43          py312haa95532_0  
prompt_toolkit            3.0.43               hd3eb1b0_0  
protego                   0.1.16                     py_0  
protobuf                  4.25.3          py312h958608f_0  
psutil                    5.9.0           py312h2bbff1b_0  
ptyprocess                0.7.0              pyhd3eb1b0_2  
pure_eval                 0.2.2              pyhd3eb1b0_0  
py-cpuinfo                9.0.0           py312haa95532_0  
py-lief                   0.12.3          py312hd77b12b_0  
pyarrow                   16.1.0          py312h0158946_0  
pyasn1                    0.4.8              pyhd3eb1b0_0  
pyasn1-modules            0.2.8                      py_0  
pybind11-abi              5                    hd3eb1b0_0  
pycodestyle               2.12.1          py312haa95532_0  
pycosat                   0.6.6           py312h2bbff1b_1  
pycparser                 2.21               pyhd3eb1b0_0  
pyct                      0.5.0           py312haa95532_0  
pycurl                    7.45.3          py312h3f729d1_0  
pydantic                  2.8.2           py312haa95532_0  
pydantic-core             2.20.1          py312hefb1915_0  
pydeck                    0.8.0           py312haa95532_2  
pydispatcher              2.0.5           py312haa95532_3  
pydocstyle                6.3.0           py312haa95532_0  
pyerfa                    2.0.1.4         py312h4b0e54e_0  
pyflakes                  3.2.0           py312haa95532_0  
pygithub                  2.4.0           py312haa95532_0  
pygments                  2.15.1          py312haa95532_1  
pyjwt                     2.8.0           py312haa95532_0  
pylint                    3.2.7           py312haa95532_0  
pylint-venv               3.0.3           py312haa95532_0  
pyls-spyder               0.4.0              pyhd3eb1b0_0  
pynacl                    1.5.0           py312h8cc25b3_0  
pyodbc                    5.1.0           py312h5da7b33_0  
pyopenssl                 24.2.1          py312haa95532_0  
pyparsing                 3.1.2           py312haa95532_0  
pyqt                      5.15.10         py312hd77b12b_0  
pyqt5-sip                 12.13.0         py312h2bbff1b_0  
pyqtwebengine             5.15.10         py312hd77b12b_0  
pysocks                   1.7.1           py312haa95532_0  
pytables                  3.10.1          py312ha32dda5_0  
pytest                    7.4.4           py312haa95532_0  
python                    3.12.7               h14ffc60_0  
python-dateutil           2.9.0post0      py312haa95532_2  
python-dotenv             0.21.0          py312haa95532_0  
python-fastjsonschema     2.16.2          py312haa95532_0  
python-json-logger        2.0.7           py312haa95532_0  
python-libarchive-c       5.1                pyhd3eb1b0_0  
python-lmdb               1.4.1           py312hd77b12b_0  
python-lsp-black          2.0.0           py312haa95532_0  
python-lsp-jsonrpc        1.1.2              pyhd3eb1b0_0  
python-lsp-server         1.12.0          py312hfc267ef_0  
python-slugify            5.0.2              pyhd3eb1b0_0  
python-tzdata             2023.3             pyhd3eb1b0_0  
pytoolconfig              1.2.6           py312haa95532_0  
pytz                      2024.1          py312haa95532_0  
pyuca                     1.2             py312haa95532_1  
pyviz_comms               3.0.2           py312haa95532_0  
pywavelets                1.7.0           py312h827c3e9_0  
pywin32                   305             py312h2bbff1b_0  
pywin32-ctypes            0.2.2           py312haa95532_0  
pywinpty                  2.0.10          py312h5da7b33_0  
pyyaml                    6.0.1           py312h2bbff1b_0  
pyzmq                     25.1.2          py312hd77b12b_0  
qdarkstyle                3.2.3              pyhd3eb1b0_0  
qstylizer                 0.2.2           py312haa95532_0  
qt-main                   5.15.2              h19c9488_10  
qt-webengine              5.15.9               h5bd16bc_7  
qtawesome                 1.3.1           py312haa95532_0  
qtconsole                 5.6.0           py312haa95532_0  
qtpy                      2.4.1           py312haa95532_0  
queuelib                  1.6.2           py312haa95532_0  
re2                       2022.04.01           hd77b12b_0  
referencing               0.30.2          py312haa95532_0  
regex                     2024.9.11       py312h827c3e9_0  
reproc                    14.2.4               hd77b12b_2  
reproc-cpp                14.2.4               hd77b12b_2  
requests                  2.32.3          py312haa95532_0  
requests-file             1.5.1              pyhd3eb1b0_0  
requests-toolbelt         1.0.0           py312haa95532_0  
rfc3339-validator         0.1.4           py312haa95532_0  
rfc3986-validator         0.1.1           py312haa95532_0  
rich                      13.7.1          py312haa95532_0  
rope                      1.12.0          py312haa95532_0  
rpds-py                   0.10.6          py312h062c2fa_0  
rtree                     1.0.1           py312h2eaa2aa_0  
ruamel.yaml               0.18.6          py312h827c3e9_0  
ruamel.yaml.clib          0.2.8           py312h827c3e9_0  
ruamel_yaml               0.17.21         py312h2bbff1b_0  
s3fs                      2024.6.1        py312haa95532_0  
scikit-image              0.24.0          py312h0158946_0  
scikit-learn              1.5.1           py312h0158946_0  
scipy                     1.13.1          py312hbb039d4_0  
scrapy                    2.11.1          py312haa95532_0  
seaborn                   0.13.2          py312haa95532_0  
semver                    3.0.2           py312haa95532_0  
send2trash                1.8.2           py312haa95532_0  
service_identity          18.1.0             pyhd3eb1b0_1  
setuptools                75.1.0          py312haa95532_0  
sip                       6.7.12          py312hd77b12b_0  
six                       1.16.0             pyhd3eb1b0_1  
smart_open                5.2.1           py312haa95532_0  
smmap                     4.0.0              pyhd3eb1b0_0  
snappy                    1.2.1                hcdb6601_0  
sniffio                   1.3.0           py312haa95532_0  
snowballstemmer           2.2.0              pyhd3eb1b0_0  
sortedcontainers          2.4.0              pyhd3eb1b0_0  
soupsieve                 2.5             py312haa95532_0  
sphinx                    7.3.7           py312h827c3e9_0  
sphinxcontrib-applehelp   1.0.2              pyhd3eb1b0_0  
sphinxcontrib-devhelp     1.0.2              pyhd3eb1b0_0  
sphinxcontrib-htmlhelp    2.0.0              pyhd3eb1b0_0  
sphinxcontrib-jsmath      1.0.1              pyhd3eb1b0_0  
sphinxcontrib-qthelp      1.0.3              pyhd3eb1b0_0  
sphinxcontrib-serializinghtml 1.1.10          py312haa95532_0  
spyder                    6.0.1           py312haa95532_0  
spyder-kernels            3.0.0           py312hfc267ef_0  
sqlalchemy                2.0.34          py312h54f65d0_0  
sqlite                    3.45.3               h2bbff1b_0  
stack_data                0.2.0              pyhd3eb1b0_0  
statsmodels               0.14.2          py312h4b0e54e_0  
streamlit                 1.37.1          py312haa95532_0  
superqt                   0.6.7           py312hfc267ef_0  
sympy                     1.13.2          py312haa95532_0  
tabulate                  0.9.0           py312haa95532_0  
tbb                       2021.8.0             h59b6b97_0  
tblib                     1.7.0              pyhd3eb1b0_0  
tenacity                  8.2.3           py312haa95532_0  
terminado                 0.17.1          py312haa95532_0  
text-unidecode            1.3                pyhd3eb1b0_0  
textdistance              4.2.1              pyhd3eb1b0_0  
threadpoolctl             3.5.0           py312hfc267ef_0  
three-merge               0.1.1              pyhd3eb1b0_0  
tifffile                  2023.4.12       py312haa95532_0  
tinycss2                  1.2.1           py312haa95532_0  
tk                        8.6.14               h0416ee5_0  
tldextract                5.1.2           py312haa95532_0  
toml                      0.10.2             pyhd3eb1b0_0  
tomli                     2.0.1           py312haa95532_1  
tomlkit                   0.11.1          py312haa95532_0  
toolz                     0.12.0          py312haa95532_0  
tornado                   6.4.1           py312h827c3e9_0  
tqdm                      4.66.5          py312hfc267ef_0  
traitlets                 5.14.3          py312haa95532_0  
truststore                0.8.0           py312haa95532_0  
twisted                   23.10.0         py312haa95532_0  
twisted-iocpsupport       1.0.2           py312h2bbff1b_0  
typing-extensions         4.11.0          py312haa95532_0  
typing_extensions         4.11.0          py312haa95532_0  
tzdata                    2024b                h04d1e81_0  
uc-micro-py               1.0.1           py312haa95532_0  
ujson                     5.10.0          py312h5da7b33_0  
unicodedata2              15.1.0          py312h2bbff1b_0  
unidecode                 1.3.8           py312haa95532_0  
urllib3                   2.2.3           py312haa95532_0  
utf8proc                  2.6.1                h2bbff1b_1  
vc                        14.40                h2eaa2aa_1  
vs2015_runtime            14.40.33807          h98bb1dd_1  
w3lib                     2.1.2           py312haa95532_0  
watchdog                  4.0.1           py312haa95532_0  
wcwidth                   0.2.5              pyhd3eb1b0_0  
webencodings              0.5.1           py312haa95532_2  
websocket-client          1.8.0           py312haa95532_0  
werkzeug                  3.0.3           py312haa95532_0  
whatthepatch              1.0.2           py312haa95532_0  
wheel                     0.44.0          py312haa95532_0  
widgetsnbextension        3.6.6           py312haa95532_0  
win_inet_pton             1.1.0           py312haa95532_0  
winpty                    0.4.3                         4  
wrapt                     1.14.1          py312h2bbff1b_0  
xarray                    2023.6.0        py312haa95532_0  
xlwings                   0.32.1          py312haa95532_0  
xyzservices               2022.9.0        py312haa95532_1  
xz                        5.4.6                h8cc25b3_1  
yaml                      0.2.5                he774522_0  
yaml-cpp                  0.8.0                hd77b12b_1  
yapf                      0.40.2          py312haa95532_0  
yarl                      1.11.0          py312h827c3e9_0  
zeromq                    4.3.5                hd77b12b_0  
zfp                       1.0.0                hd77b12b_0  
zict                      3.0.0           py312haa95532_0  
zipp                      3.17.0          py312haa95532_0  
zlib                      1.2.13               h8cc25b3_1  
zlib-ng                   2.0.7                h2bbff1b_0  
zope                      1.0             py312haa95532_1  
zope.interface            5.4.0           py312h2bbff1b_0  
zstandard                 0.23.0          py312h4fc1ca9_0  
zstd                      1.5.6                h8880b57_0  

@katbrookchen230
Copy link
Author

Fixed :) changed permission setting and was able to run both spyder and jupyter now!

@ccordoba12
Copy link
Member

Yep, that was the issue. Glad you were able to figure it out on your own.

@ccordoba12 ccordoba12 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2024
@ccordoba12
Copy link
Member

Sorry, after a second thought, I think we can improve the user experience by providing a sensible error message when this happens.

We'll address that in 6.0.4, to be released at the beginning of next year.

@ccordoba12 ccordoba12 reopened this Nov 30, 2024
@ccordoba12 ccordoba12 changed the title An error occurred while starting the kernel PermissionError when writing kernel connection file Nov 30, 2024
@ccordoba12 ccordoba12 added this to the v6.0.4 milestone Nov 30, 2024
@ccordoba12 ccordoba12 self-assigned this Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants