spyder-ide / spyder

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

select update and trouble #22933

Closed tommy256 closed 2 weeks ago

tommy256 commented 2 weeks ago

Description

What steps will reproduce the problem?

when this program will be updated, cannot update and reporter appears

Traceback

Traceback (most recent call last):
  File "C:\Users\naoya\anaconda3\envs\AIpro\Lib\site-packages\spyder\plugins\application\container.py", line 330, in _check_updates_ready
    self.application_update_status.start_installation(
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'start_installation'

Versions

Dependencies

# Mandatory:
atomicwrites >=1.2.0             :  1.4.0 (OK)
chardet >=2.0.0                  :  4.0.0 (OK)
cloudpickle >=0.5.0              :  2.2.1 (OK)
cookiecutter >=1.6.0             :  2.6.0 (OK)
diff_match_patch >=20181111      :  20200713 (OK)
intervaltree >=3.0.2             :  3.1.0 (OK)
IPython >=8.13.0,<9.0.0,!=8.17.1 :  8.20.0 (OK)
jedi >=0.17.2,<0.20.0            :  0.18.1 (OK)
jellyfish >=0.7                  :  1.0.1 (OK)
jsonschema >=3.2.0               :  4.19.2 (OK)
keyring >=17.0.0                 :  24.3.1 (OK)
nbconvert >=4.0                  :  7.10.0 (OK)
numpydoc >=0.6.0                 :  1.5.0 (OK)
paramiko >=2.4.0                 :  2.8.1 (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 >=2.5.0,<3.1              :  2.16.2 (OK)
pylint_venv >=3.0.2              :  3.0.3 (OK)
pyls_spyder >=0.4.0              :  0.4.0 (OK)
pylsp >=1.10.0,<1.11.0           :  1.10.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.2 (OK)
qtawesome >=1.2.1                :  1.2.2 (OK)
qtconsole >=5.5.1,<5.6.0         :  5.5.1 (OK)
qtpy >=2.1.0                     :  2.4.1 (OK)
rtree >=0.9.7                    :  1.0.1 (OK)
setuptools >=49.6.0              :  69.5.1 (OK)
sphinx >=0.6.6                   :  5.0.2 (OK)
spyder_kernels >=2.5.0,<2.6.0    :  2.5.0 (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)
zmq >=22.1.0                     :  25.1.2 (OK)

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

Environment

Environment ``` # packages in environment at C:\Users\naoya\anaconda3\envs\AIpro: # # Name Version Build Channel absl-py 2.1.0 py311haa95532_0 alabaster 0.7.12 pyhd3eb1b0_0 arrow 1.2.3 py311haa95532_1 astroid 2.14.2 py311haa95532_0 asttokens 2.0.5 pyhd3eb1b0_0 astunparse 1.6.3 pypi_0 pypi atomicwrites 1.4.0 py_0 attrs 23.1.0 py311haa95532_0 autopep8 2.0.4 pyhd3eb1b0_0 babel 2.11.0 py311haa95532_0 bcrypt 3.2.0 py311h2bbff1b_1 beautifulsoup4 4.12.3 py311haa95532_0 binaryornot 0.4.4 pyhd3eb1b0_1 black 24.4.2 py311haa95532_0 blas 1.0 mkl bleach 4.1.0 pyhd3eb1b0_0 brotli-python 1.0.9 py311hd77b12b_8 bzip2 1.0.8 h2bbff1b_6 ca-certificates 2024.3.11 haa95532_0 certifi 2024.6.2 py311haa95532_0 cffi 1.16.0 py311h2bbff1b_1 chardet 4.0.0 py311haa95532_1003 charset-normalizer 3.3.2 pypi_0 pypi click 8.1.7 py311haa95532_0 cloudpickle 2.2.1 py311haa95532_0 colorama 0.4.6 py311haa95532_0 comm 0.2.1 py311haa95532_0 contourpy 1.2.1 pypi_0 pypi cookiecutter 2.6.0 py311haa95532_0 cryptography 42.0.5 py311h89fc84f_1 cycler 0.12.1 pypi_0 pypi debugpy 1.6.7 py311hd77b12b_0 decorator 5.1.1 pyhd3eb1b0_0 defusedxml 0.7.1 pyhd3eb1b0_0 diff-match-patch 20200713 pyhd3eb1b0_0 dill 0.3.8 py311haa95532_0 dm-tree 0.1.7 py311hd77b12b_1 docstring-to-markdown 0.11 py311haa95532_0 docutils 0.18.1 py311haa95532_3 executing 0.8.3 pyhd3eb1b0_0 filelock 3.15.4 pypi_0 pypi flake8 7.0.0 py311haa95532_0 flatbuffers 24.3.25 pypi_0 pypi fonttools 4.53.0 pypi_0 pypi fsspec 2024.6.1 pypi_0 pypi gast 0.5.4 pypi_0 pypi google-pasta 0.2.0 pypi_0 pypi grpcio 1.64.1 pypi_0 pypi h5py 3.11.0 py311h765d3d0_0 hdf5 1.12.1 h51c971a_3 icc_rt 2022.1.0 h6049295_2 icu 73.1 h6c2663c_0 idna 3.7 py311haa95532_0 imagesize 1.4.1 py311haa95532_0 importlib-metadata 7.0.1 py311haa95532_0 importlib_metadata 7.0.1 hd3eb1b0_0 inflection 0.5.1 py311haa95532_0 intel-openmp 2021.4.0 pypi_0 pypi intervaltree 3.1.0 pyhd3eb1b0_0 ipykernel 6.28.0 py311haa95532_0 ipython 8.20.0 py311haa95532_0 isort 5.9.3 pyhd3eb1b0_0 jaraco.classes 3.2.1 pyhd3eb1b0_0 jedi 0.18.1 py311haa95532_1 jellyfish 1.0.1 py311h36a85e1_0 jinja2 3.1.4 py311haa95532_0 joblib 1.4.2 pypi_0 pypi jpeg 9e h2bbff1b_1 jsonschema 4.19.2 py311haa95532_0 jsonschema-specifications 2023.7.1 py311haa95532_0 jupyter_client 8.6.0 py311haa95532_0 jupyter_core 5.5.0 py311haa95532_0 jupyterlab_pygments 0.2.2 py311haa95532_0 keras 3.0.5 py311haa95532_0 keyring 24.3.1 py311haa95532_0 kiwisolver 1.4.5 pypi_0 pypi krb5 1.20.1 h5b6d351_0 lazy-object-proxy 1.10.0 py311h2bbff1b_0 libclang 18.1.1 pypi_0 pypi libclang13 14.0.6 default_h8e68704_1 libffi 3.4.4 hd77b12b_1 libpng 1.6.39 h8cc25b3_0 libpq 12.17 h906ac69_0 libsodium 1.0.18 h62dcd97_0 libspatialindex 1.9.3 h6c2663c_0 lz4-c 1.9.4 h2bbff1b_1 markdown 3.6 pypi_0 pypi markdown-it-py 2.2.0 py311haa95532_1 markupsafe 2.1.5 pypi_0 pypi matplotlib 3.9.0 pypi_0 pypi matplotlib-inline 0.1.6 py311haa95532_0 mccabe 0.7.0 pyhd3eb1b0_0 mdurl 0.1.0 py311haa95532_0 mistune 2.0.4 py311haa95532_0 mkl 2021.4.0 pypi_0 pypi mkl-service 2.4.0 py311h2bbff1b_1 mkl_fft 1.3.8 py311h2bbff1b_0 mkl_random 1.2.4 py311h59b6b97_0 ml_dtypes 0.3.1 py311hf62ec03_0 more-itertools 10.1.0 py311haa95532_0 mpmath 1.3.0 pypi_0 pypi mypy_extensions 1.0.0 py311haa95532_0 namex 0.0.7 py311haa95532_0 nbclient 0.8.0 py311haa95532_0 nbconvert 7.10.0 py311haa95532_0 nbformat 5.9.2 py311haa95532_0 nest-asyncio 1.6.0 py311haa95532_0 networkx 3.3 pypi_0 pypi numpy 1.26.4 py311hdab7c0b_0 numpy-base 1.26.4 py311hd01c5d8_0 numpydoc 1.5.0 py311haa95532_0 openssl 3.0.13 h2bbff1b_2 opt-einsum 3.3.0 pypi_0 pypi packaging 23.2 py311haa95532_0 pandas 2.2.2 pypi_0 pypi pandocfilters 1.5.0 pyhd3eb1b0_0 paramiko 2.8.1 pyhd3eb1b0_0 parso 0.8.3 pyhd3eb1b0_0 pathspec 0.10.3 py311haa95532_0 pexpect 4.8.0 pyhd3eb1b0_3 pickleshare 0.7.5 pyhd3eb1b0_1003 pillow 10.3.0 pypi_0 pypi pip 24.0 py311haa95532_0 platformdirs 3.10.0 py311haa95532_0 pluggy 1.0.0 py311haa95532_1 ply 3.11 py311haa95532_0 prompt-toolkit 3.0.43 py311haa95532_0 prompt_toolkit 3.0.43 hd3eb1b0_0 protobuf 4.25.3 pypi_0 pypi psutil 5.9.0 py311h2bbff1b_0 ptyprocess 0.7.0 pyhd3eb1b0_2 pure_eval 0.2.2 pyhd3eb1b0_0 pycodestyle 2.11.1 py311haa95532_0 pycparser 2.21 pyhd3eb1b0_0 pydocstyle 6.3.0 py311haa95532_0 pyflakes 3.2.0 py311haa95532_0 pygments 2.15.1 py311haa95532_1 pylint 2.16.2 py311haa95532_0 pylint-venv 3.0.3 py311haa95532_0 pyls-spyder 0.4.0 pyhd3eb1b0_0 pynacl 1.5.0 py311h8cc25b3_0 pyparsing 3.1.2 pypi_0 pypi pyqt 5.15.10 py311hd77b12b_0 pyqt5-sip 12.13.0 py311h2bbff1b_0 pyqtwebengine 5.15.10 py311hd77b12b_0 pysocks 1.7.1 py311haa95532_0 python 3.11.9 he1021f5_0 python-dateutil 2.9.0post0 py311haa95532_2 python-fastjsonschema 2.16.2 py311haa95532_0 python-lsp-black 2.0.0 py311haa95532_0 python-lsp-jsonrpc 1.1.2 pyhd3eb1b0_0 python-lsp-server 1.10.0 py311haa95532_0 python-slugify 5.0.2 pyhd3eb1b0_0 pytoolconfig 1.2.6 py311haa95532_0 pytz 2024.1 py311haa95532_0 pywin32 305 py311h2bbff1b_0 pywin32-ctypes 0.2.2 py311haa95532_0 pyyaml 6.0.1 py311h2bbff1b_0 pyzmq 25.1.2 py311hd77b12b_0 qdarkstyle 3.2.3 pyhd3eb1b0_0 qstylizer 0.2.2 py311haa95532_0 qt-main 5.15.2 h19c9488_10 qt-webengine 5.15.9 h5bd16bc_7 qtawesome 1.2.2 py311haa95532_0 qtconsole 5.5.1 py311haa95532_0 qtpy 2.4.1 py311haa95532_0 referencing 0.30.2 py311haa95532_0 requests 2.32.3 pypi_0 pypi rich 13.3.5 py311haa95532_0 rope 1.12.0 py311haa95532_0 rpds-py 0.10.6 py311h062c2fa_0 rtree 1.0.1 py311h2eaa2aa_0 scikit-learn 1.5.1 pypi_0 pypi scipy 1.14.0 pypi_0 pypi seaborn 0.13.2 pypi_0 pypi setuptools 69.5.1 py311haa95532_0 sip 6.7.12 py311hd77b12b_0 six 1.16.0 pyhd3eb1b0_1 snowballstemmer 2.2.0 pyhd3eb1b0_0 sortedcontainers 2.4.0 pyhd3eb1b0_0 soupsieve 2.5 py311haa95532_0 sphinx 5.0.2 py311haa95532_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.5 pyhd3eb1b0_0 spyder 5.5.1 py311haa95532_0 spyder-kernels 2.5.0 py311haa95532_0 sqlite 3.45.3 h2bbff1b_0 stack_data 0.2.0 pyhd3eb1b0_0 sympy 1.13.0 pypi_0 pypi tbb 2021.13.0 pypi_0 pypi tensorboard 2.16.2 pypi_0 pypi tensorboard-data-server 0.7.2 pypi_0 pypi tensorflow 2.16.1 pypi_0 pypi tensorflow-intel 2.16.1 pypi_0 pypi tensorflow-io-gcs-filesystem 0.31.0 pypi_0 pypi termcolor 2.4.0 pypi_0 pypi text-unidecode 1.3 pyhd3eb1b0_0 textdistance 4.2.1 pyhd3eb1b0_0 threadpoolctl 3.5.0 pypi_0 pypi three-merge 0.1.1 pyhd3eb1b0_0 tinycss2 1.2.1 py311haa95532_0 tk 8.6.14 h0416ee5_0 tomli 2.0.1 py311haa95532_0 tomlkit 0.11.1 py311haa95532_0 torch 2.3.1 pypi_0 pypi torchvision 0.18.1 pypi_0 pypi tornado 6.3.3 py311h2bbff1b_0 traitlets 5.7.1 py311haa95532_0 typing-extensions 4.12.2 pypi_0 pypi tzdata 2024.1 pypi_0 pypi ujson 5.10.0 py311h5da7b33_0 unidecode 1.2.0 pyhd3eb1b0_0 urllib3 2.2.1 py311haa95532_0 vc 14.2 h2eaa2aa_1 vs2015_runtime 14.29.30133 h43f2093_3 watchdog 4.0.1 py311haa95532_0 wcwidth 0.2.5 pyhd3eb1b0_0 webencodings 0.5.1 py311haa95532_1 werkzeug 3.0.3 pypi_0 pypi whatthepatch 1.0.2 py311haa95532_0 wheel 0.43.0 py311haa95532_0 win_inet_pton 1.1.0 py311haa95532_0 wrapt 1.16.0 pypi_0 pypi xz 5.4.6 h8cc25b3_1 yaml 0.2.5 he774522_0 yapf 0.40.2 py311haa95532_0 zeromq 4.3.5 hd77b12b_0 zipp 3.17.0 py311haa95532_0 zlib 1.2.13 h8cc25b3_1 zstd 1.5.5 hd43e919_2 ```
spyder-bot commented 2 weeks ago

Thanks for reporting. You need to manually update Spyder to fix this problem.

To do that, please close Spyder, open the Anaconda Prompt (on Windows) or a terminal (on macOS or Linux) and run there

conda install spyder=6