spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.3k stars 1.61k forks source link

Miniconda3 installation failure #22678

Open brtwyl opened 1 week ago

brtwyl commented 1 week ago

Description

What steps will reproduce the problem?

Installed miniconda and made a new environment with spyder-kernels=2.5. Restarted console to this error.

Traceback

Exception in comms call get_namespace_view:
  File "C:\Program Files\Spyder\pkgs\spyder_kernels\comms\commbase.py", line 317, in _comm_message
    buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range
Exception in comms call get_var_properties:
  File "C:\Program Files\Spyder\pkgs\spyder_kernels\comms\commbase.py", line 317, in _comm_message
    buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range
Exception in comms call is_special_kernel_valid:
  File "C:\Program Files\Spyder\pkgs\spyder_kernels\comms\commbase.py", line 317, in _comm_message
    buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range

Versions

Dependencies

# Mandatory:
atomicwrites >=1.2.0          :  1.4.1 (OK)
chardet >=2.0.0               :  5.2.0 (OK)
cloudpickle >=0.5.0           :  3.0.0 (OK)
cookiecutter >=1.6.0          :  2.6.0 (OK)
diff_match_patch >=20181111   :  20230430 (OK)
importlib_metadata >=4.6.0    :  8.4.0 (OK)
intervaltree                  :  None (OK)
IPython >=8.12.2,<8.13.0      :  8.12.3 (OK)
jedi >=0.17.2,<0.20.0         :  0.19.1 (OK)
jellyfish >=0.7               :  1.1.0 (OK)
jsonschema >=3.2.0            :  4.23.0 (OK)
keyring >=17.0.0              :  25.3.0 (OK)
nbconvert >=4.0               :  7.16.4 (OK)
numpydoc >=0.6.0              :  1.7.0 (OK)
paramiko >=2.4.0              :  3.4.1 (OK)
parso >=0.7.0,<0.9.0          :  0.8.4 (OK)
pexpect >=4.4.0               :  4.9.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  6.0.0 (OK)
pygments >=2.0                :  2.18.0 (OK)
pylint >=3.1,<4               :  3.2.6 (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)
qdarkstyle >=3.2.0,<3.3.0     :  3.2.3 (OK)
qstylizer >=0.2.2             :  0.2.3 (OK)
qtawesome >=1.3.1,<1.4.0      :  1.3.1 (OK)
qtconsole >=5.5.1,<5.6.0      :  5.5.2 (OK)
qtpy >=2.1.0                  :  2.4.1 (OK)
rtree >=0.9.7                 :  1.3.0 (OK)
setuptools >=49.6.0           :  73.0.1 (OK)
sphinx >=0.6.6                :  7.1.2 (OK)
spyder_kernels >=2.5.2,<2.6.0 :  2.5.2 (OK)
textdistance >=4.2.0          :  4.6.2 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog                      :  4.0.2 (OK)
zmq >=24.0.0                  :  26.2.0 (OK)

# Optional:
cython >=0.21                 :  3.0.11 (OK)
matplotlib >=3.0.0            :  3.7.5 (OK)
numpy >=1.7                   :  1.24.4 (OK)
pandas >=1.1.1                :  2.0.3 (OK)
scipy >=0.17.0                :  1.10.1 (OK)
sympy >=0.7.3                 :  1.13.2 (OK)

Environment

Environment ``` # packages in environment at C:\Users\Brit Wylie\.conda\envs\spyder-env: # # Name Version Build Channel asttokens 2.0.5 pyhd3eb1b0_0 bzip2 1.0.8 h2bbff1b_6 ca-certificates 2024.9.24 haa95532_0 cloudpickle 3.0.0 py312haa95532_0 colorama 0.4.6 py312haa95532_0 comm 0.2.1 py312haa95532_0 debugpy 1.6.7 py312hd77b12b_0 decorator 5.1.1 pyhd3eb1b0_0 executing 0.8.3 pyhd3eb1b0_0 expat 2.6.3 h5da7b33_0 ipykernel 6.29.5 py312haa95532_0 ipython 8.27.0 py312haa95532_0 jedi 0.19.1 py312haa95532_0 jupyter_client 8.6.0 py312haa95532_0 jupyter_core 5.7.2 py312haa95532_0 libffi 3.4.4 hd77b12b_1 libsodium 1.0.18 h62dcd97_0 matplotlib-inline 0.1.6 py312haa95532_0 nest-asyncio 1.6.0 py312haa95532_0 openssl 3.0.15 h827c3e9_0 packaging 24.1 py312haa95532_0 parso 0.8.3 pyhd3eb1b0_0 pip 24.2 py312haa95532_0 platformdirs 3.10.0 py312haa95532_0 plotly 5.24.1 py312hfc267ef_0 prompt-toolkit 3.0.43 py312haa95532_0 prompt_toolkit 3.0.43 hd3eb1b0_0 psutil 5.9.0 py312h2bbff1b_0 pure_eval 0.2.2 pyhd3eb1b0_0 pygments 2.15.1 py312haa95532_1 python 3.12.7 h14ffc60_0 python-dateutil 2.9.0post0 py312haa95532_2 pywin32 305 py312h2bbff1b_0 pyzmq 25.1.2 py312hd77b12b_0 setuptools 75.1.0 py312haa95532_0 six 1.16.0 pyhd3eb1b0_1 spyder-kernels 2.5.0 py312haa95532_0 sqlite 3.45.3 h2bbff1b_0 stack_data 0.2.0 pyhd3eb1b0_0 tenacity 8.2.3 py312haa95532_0 tk 8.6.14 h0416ee5_0 tornado 6.4.1 py312h827c3e9_0 traitlets 5.14.3 py312haa95532_0 tzdata 2024b h04d1e81_0 vc 14.40 h2eaa2aa_1 vs2015_runtime 14.40.33807 h98bb1dd_1 wcwidth 0.2.5 pyhd3eb1b0_0 wheel 0.44.0 py312haa95532_0 xz 5.4.6 h8cc25b3_1 zeromq 4.3.5 hd77b12b_0 zlib 1.2.13 h8cc25b3_1 ```
ccordoba12 commented 5 days ago

Hey @brtwyl, thanks for reporting. Unfortunately, support for Spyder 5 has stopped after we released Spyder 6 last month.

So, please update to 6.0.1 and let us know if you still have the same problem.