spyder-ide / spyder

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

Just upgraded via Miniconda #20172

Closed TodaysTomSawyer587 closed 1 year ago

TodaysTomSawyer587 commented 1 year ago

Description

What steps will reproduce the problem?

I just updated Spyder via Miniconda (conda update spyder). This error happens whenever I open spyder.

Traceback

Error on reading from the event loop self pipe
loop: <ProactorEventLoop running=True closed=False debug=False>
Traceback (most recent call last):
  File "C:\Users\micha\miniconda3\lib\asyncio\windows_events.py", line 453, in finish_recv
    return ov.getresult()
OSError: [WinError 995] The I/O operation has been aborted because of either a thread exit or an application request

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\micha\miniconda3\lib\asyncio\proactor_events.py", line 768, in _loop_self_reading
    f.result()  # may raise
  File "C:\Users\micha\miniconda3\lib\asyncio\windows_events.py", line 808, in _poll
    value = callback(transferred, key, ov)
  File "C:\Users\micha\miniconda3\lib\asyncio\windows_events.py", line 457, in finish_recv
    raise ConnectionResetError(*exc.args)
ConnectionResetError: [WinError 995] The I/O operation has been aborted because of either a thread exit or an application request

Versions

Dependencies

# Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  4.0.0 (OK)
cloudpickle >=0.5.0           :  2.0.0 (OK)
cookiecutter >=1.6.0          :  1.7.3 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree >=3.0.2          :  3.1.0 (OK)
IPython >=7.31.1;<8.0.0       :  7.31.1 (OK)
jedi >=0.17.2;<0.19.0         :  0.18.1 (OK)
jellyfish >=0.7               :  0.9.0 (OK)
jsonschema >=3.2.0            :  4.16.0 (OK)
keyring >=17.0.0              :  23.4.0 (OK)
nbconvert >=4.0               :  6.5.4 (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.11.2 (OK)
pylint >=2.5.0;<3.0           :  2.14.5 (OK)
pyls_spyder >=0.4.0           :  0.4.0 (OK)
pylsp >=1.5.0;<1.6.0          :  1.5.0 (OK)
pylsp_black >=1.2.0           :  1.2.1 (OK)
qdarkstyle >=3.0.2;<3.1.0     :  3.0.2 (OK)
qstylizer >=0.1.10            :  0.1.10 (OK)
qtawesome >=1.0.2             :  1.0.3 (OK)
qtconsole >=5.3.2;<5.4.0      :  5.3.2 (OK)
qtpy >=2.1.0                  :  2.2.0 (OK)
rtree >=0.9.7                 :  0.9.7 (OK)
setuptools >=49.6.0           :  65.5.0 (OK)
sphinx >=0.6.6                :  5.0.2 (OK)
spyder_kernels >=2.3.3;<2.4.0 :  2.3.3 (OK)
textdistance >=4.2.0          :  4.2.1 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog >=0.10.3             :  2.1.6 (OK)
zmq >=22.1.0                  :  23.2.0 (OK)

# Optional:
cython >=0.21                 :  None (NOK)
matplotlib >=3.0.0            :  None (NOK)
numpy >=1.7                   :  1.19.2 (OK)
pandas >=1.1.1                :  1.2.4 (OK)
scipy >=0.17.0                :  1.6.1 (OK)
sympy >=0.7.3                 :  None (NOK)

Environment

Environment ``` # packages in environment at C:\Users\micha\miniconda3: # # Name Version Build Channel alabaster 0.7.12 pyhd3eb1b0_0 anyio 3.5.0 py38haa95532_0 argon2-cffi 21.3.0 pyhd3eb1b0_0 argon2-cffi-bindings 21.2.0 py38h2bbff1b_0 arrow 1.2.3 py38haa95532_0 astroid 2.11.7 py38haa95532_0 atomicwrites 1.4.0 py_0 attrs 22.1.0 py38haa95532_0 autopep8 1.6.0 pyhd3eb1b0_1 babel 2.9.1 pyhd3eb1b0_0 backcall 0.2.0 pyhd3eb1b0_0 bcrypt 3.2.0 py38h2bbff1b_1 beautifulsoup4 4.9.3 pyhb0f4dca_0 binaryornot 0.4.4 pyhd3eb1b0_1 black 22.6.0 py38haa95532_0 blas 1.0 mkl bleach 4.1.0 pyhd3eb1b0_0 brotlipy 0.7.0 py38h2bbff1b_1003 ca-certificates 2022.10.11 haa95532_0 certifi 2022.9.24 py38haa95532_0 cffi 1.15.1 py38h2bbff1b_3 chardet 4.0.0 py38haa95532_1003 charset-normalizer 2.0.4 pyhd3eb1b0_0 chromedriver-autoinstaller 0.4.0 pypi_0 pypi click 8.0.4 py38haa95532_0 cloudpickle 2.0.0 pyhd3eb1b0_0 colorama 0.4.5 py38haa95532_0 conda 22.11.1 py38haa95532_3 conda-package-handling 1.9.0 py38h8cc25b3_1 console_shortcut 0.1.1 4 cookiecutter 1.7.3 pyhd3eb1b0_0 cryptography 38.0.1 py38h21b164f_0 debugpy 1.5.1 py38hd77b12b_0 decorator 5.1.1 pyhd3eb1b0_0 defusedxml 0.7.1 pyhd3eb1b0_0 diff-match-patch 20200713 pyhd3eb1b0_0 dill 0.3.6 py38haa95532_0 docopt 0.6.2 pypi_0 pypi docutils 0.18.1 py38haa95532_3 entrypoints 0.4 py38haa95532_0 et_xmlfile 1.1.0 py38haa95532_0 flake8 4.0.1 pyhd3eb1b0_1 flit-core 3.6.0 pyhd3eb1b0_0 glib 2.69.1 h5dc1a3c_2 gst-plugins-base 1.18.5 h9e645db_0 gstreamer 1.18.5 hd78058f_0 h5py 2.10.0 py38h5e291fa_0 hdf5 1.10.4 h7ebc959_0 html5lib 1.1 py_0 icc_rt 2022.1.0 h6049295_2 icu 58.2 ha925a31_3 idna 3.4 py38haa95532_0 imagesize 1.4.1 py38haa95532_0 importlib-metadata 4.11.3 py38haa95532_0 importlib_metadata 4.11.3 hd3eb1b0_0 importlib_resources 5.2.0 pyhd3eb1b0_1 inflection 0.5.1 py38haa95532_0 intel-openmp 2021.4.0 haa95532_3556 intervaltree 3.1.0 pyhd3eb1b0_0 ipykernel 6.15.2 py38haa95532_0 ipython 7.31.1 py38haa95532_1 ipython_genutils 0.2.0 pyhd3eb1b0_1 isort 5.9.3 pyhd3eb1b0_0 jedi 0.18.1 py38haa95532_1 jellyfish 0.9.0 py38h2bbff1b_0 jinja2 3.1.2 py38haa95532_0 jinja2-time 0.2.0 pyhd3eb1b0_3 jpeg 9e h2bbff1b_0 json5 0.9.6 pyhd3eb1b0_0 jsonschema 4.16.0 py38haa95532_0 jupyter_client 7.4.7 py38haa95532_0 jupyter_core 4.11.2 py38haa95532_0 jupyter_server 1.18.1 py38haa95532_0 jupyterlab 3.3.2 pyhd3eb1b0_0 jupyterlab_pygments 0.1.2 py_0 jupyterlab_server 2.16.3 py38haa95532_0 keyring 23.4.0 py38haa95532_0 lazy-object-proxy 1.6.0 py38h2bbff1b_0 lerc 3.0 hd77b12b_0 libclang 12.0.0 default_h627e005_2 libdeflate 1.8 h2bbff1b_5 libffi 3.4.2 hd77b12b_6 libiconv 1.16 h2bbff1b_2 libogg 1.3.5 h2bbff1b_1 libopencv 4.0.1 hbb9e17c_0 libpng 1.6.37 h2a8f88b_0 libsodium 1.0.18 h62dcd97_0 libspatialindex 1.9.3 h6c2663c_0 libtiff 4.4.0 h8a3f274_2 libvorbis 1.3.7 he774522_0 libwebp 1.2.4 h2bbff1b_0 libwebp-base 1.2.4 h2bbff1b_0 libxml2 2.9.14 h0ad7f3c_0 libxslt 1.1.35 h2bbff1b_0 lxml 4.6.3 py38h9b66d53_0 lz4-c 1.9.3 h2bbff1b_1 markupsafe 2.1.1 py38h2bbff1b_0 matplotlib-inline 0.1.6 py38haa95532_0 mccabe 0.7.0 pyhd3eb1b0_0 menuinst 1.4.19 py38h59b6b97_0 mistune 0.8.4 py38he774522_1000 mkl 2020.2 256 mkl-service 2.3.0 py38h196d8e1_0 mkl_fft 1.3.0 py38h46781fe_0 mkl_random 1.1.1 py38h47e9c7a_0 mouseinfo 0.1.3 pypi_0 pypi mypy_extensions 0.4.3 py38haa95532_1 nbclassic 0.4.8 py38haa95532_0 nbclient 0.5.13 py38haa95532_0 nbconvert 6.5.4 py38haa95532_0 nbformat 5.7.0 py38haa95532_0 nest-asyncio 1.5.5 py38haa95532_0 notebook 6.4.12 py38haa95532_0 notebook-shim 0.2.2 py38haa95532_0 numpy 1.19.2 py38hadc3359_0 numpy-base 1.19.2 py38ha3acd2a_0 numpydoc 1.5.0 py38haa95532_0 objectpath 0.6.1 pypi_0 pypi opencv 4.0.1 py38h2a7c758_0 openpyxl 3.0.10 py38h2bbff1b_0 openssl 1.1.1s h2bbff1b_0 packaging 21.3 pyhd3eb1b0_0 pandas 1.2.4 py38hd77b12b_0 pandocfilters 1.5.0 pyhd3eb1b0_0 paramiko 2.8.1 pyhd3eb1b0_0 parso 0.8.3 pyhd3eb1b0_0 pathspec 0.9.0 py38haa95532_0 pcre 8.45 hd77b12b_0 pexpect 4.8.0 pyhd3eb1b0_3 pickleshare 0.7.5 pyhd3eb1b0_1003 pillow 8.1.2 pypi_0 pypi pip 22.2.2 py38haa95532_0 pkgutil-resolve-name 1.3.10 py38haa95532_0 platformdirs 2.5.2 py38haa95532_0 pluggy 1.0.0 py38haa95532_1 ply 3.11 py38_0 powershell_shortcut 0.0.1 3 poyo 0.5.0 pyhd3eb1b0_0 prometheus_client 0.14.1 py38haa95532_0 prompt-toolkit 3.0.20 pyhd3eb1b0_0 psutil 5.9.0 py38h2bbff1b_0 ptyprocess 0.7.0 pyhd3eb1b0_2 py-opencv 4.0.1 py38he44ac1e_0 pyaml 20.4.0 pypi_0 pypi pyautogui 0.9.52 pypi_0 pypi pycodestyle 2.8.0 pyhd3eb1b0_0 pycosat 0.6.4 py38h2bbff1b_0 pycparser 2.21 pyhd3eb1b0_0 pydocstyle 6.1.1 pyhd3eb1b0_0 pyflakes 2.4.0 pyhd3eb1b0_0 pygetwindow 0.0.9 pypi_0 pypi pygments 2.11.2 pyhd3eb1b0_0 pylint 2.14.5 py38haa95532_0 pyls-spyder 0.4.0 pyhd3eb1b0_0 pymsgbox 1.0.9 pypi_0 pypi pynacl 1.5.0 py38h8cc25b3_0 pynput 1.7.3 pypi_0 pypi pyopenssl 22.0.0 pyhd3eb1b0_0 pyparsing 3.0.9 py38haa95532_0 pyperclip 1.8.2 pypi_0 pypi pyqt 5.15.7 py38hd77b12b_0 pyqt5-sip 12.11.0 py38hd77b12b_0 pyqtwebengine 5.15.7 py38hd77b12b_0 pyreadline 2.1 py38_1 pyrect 0.1.4 pypi_0 pypi pyrsistent 0.18.0 py38h196d8e1_0 pyscreeze 0.1.26 pypi_0 pypi pysocks 1.7.1 py38haa95532_0 python 3.8.5 h5fd99cc_1 python-dateutil 2.8.2 pyhd3eb1b0_0 python-fastjsonschema 2.16.2 py38haa95532_0 python-lsp-black 1.2.1 py38haa95532_0 python-lsp-jsonrpc 1.0.0 pyhd3eb1b0_0 python-lsp-server 1.5.0 py38haa95532_0 python-slugify 5.0.2 pyhd3eb1b0_0 pytweening 1.0.3 pypi_0 pypi pytz 2022.1 py38haa95532_0 pywin32 305 py38h2bbff1b_0 pywin32-ctypes 0.2.0 py38_1000 pywinpty 2.0.2 py38h5da7b33_0 pyyaml 6.0 py38h2bbff1b_1 pyzmq 23.2.0 py38hd77b12b_0 qdarkstyle 3.0.2 pyhd3eb1b0_0 qstylizer 0.1.10 pyhd3eb1b0_0 qt-main 5.15.2 he8e5bd7_7 qt-webengine 5.15.9 hb9a9bb5_4 qtawesome 1.0.3 pyhd3eb1b0_0 qtconsole 5.3.2 py38haa95532_0 qtpy 2.2.0 py38haa95532_0 qtwebkit 5.212 h3ad3cdb_4 rauth 0.7.3 pypi_0 pypi requests 2.28.1 py38haa95532_0 rope 0.22.0 pyhd3eb1b0_0 rtree 0.9.7 py38h2eaa2aa_1 ruamel.yaml 0.17.21 py38h2bbff1b_0 ruamel.yaml.clib 0.2.6 py38h2bbff1b_1 scipy 1.6.1 py38h14eb087_0 selenium 3.141.0 py38h2bbff1b_1000 send2trash 1.8.0 pyhd3eb1b0_1 setuptools 65.5.0 py38haa95532_0 sip 6.6.2 py38hd77b12b_0 six 1.16.0 pyhd3eb1b0_1 snakeviz 2.0.1 py38haa95532_0 sniffio 1.2.0 py38haa95532_1 snowballstemmer 2.2.0 pyhd3eb1b0_0 sortedcontainers 2.4.0 pyhd3eb1b0_0 soupsieve 2.3.2.post1 py38haa95532_0 sphinx 5.0.2 py38haa95532_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.3.3 py38haa95532_0 spyder-kernels 2.3.3 py38haa95532_0 sqlite 3.40.0 h2bbff1b_0 terminado 0.13.1 py38haa95532_0 text-unidecode 1.3 pyhd3eb1b0_0 textdistance 4.2.1 pyhd3eb1b0_0 three-merge 0.1.1 pyhd3eb1b0_0 tinycss 0.4 pyhd3eb1b0_1002 tinycss2 1.2.1 py38haa95532_0 toml 0.10.2 pyhd3eb1b0_0 tomli 2.0.1 py38haa95532_0 tomlkit 0.11.1 py38haa95532_0 toolz 0.12.0 py38haa95532_0 tornado 6.2 py38h2bbff1b_0 tqdm 4.64.1 py38haa95532_0 traitlets 5.1.1 pyhd3eb1b0_0 typing-extensions 4.4.0 py38haa95532_0 typing_extensions 4.4.0 py38haa95532_0 ujson 5.4.0 py38hd77b12b_0 unidecode 1.2.0 pyhd3eb1b0_0 urllib3 1.26.13 py38haa95532_0 vc 14.2 h21ff451_1 vs2015_runtime 14.27.29016 h5e58377_2 watchdog 2.1.6 py38haa95532_0 wcwidth 0.2.5 pyhd3eb1b0_0 webencodings 0.5.1 py38_1 websocket-client 0.58.0 py38haa95532_4 whatthepatch 1.0.2 py38haa95532_0 wheel 0.37.1 pyhd3eb1b0_0 win_inet_pton 1.1.0 py38haa95532_0 wincertstore 0.2 py38haa95532_2 winpty 0.4.3 4 wrapt 1.14.1 py38h2bbff1b_0 xz 5.2.8 h8cc25b3_0 yahoo-fantasy-api 2.4.0 pypi_0 pypi yahoo-oauth 1.1 pypi_0 pypi yaml 0.2.5 he774522_0 yapf 0.31.0 pyhd3eb1b0_0 zeromq 4.3.4 hd77b12b_0 zipp 3.8.0 py38haa95532_0 zlib 1.2.13 h8cc25b3_0 zstd 1.5.2 h19a0ad4_0 ```
ccordoba12 commented 1 year ago

Hey @TodaysTomSawyer587, thanks for reporting. Please close Spyder, open the Anaconda prompt and run there

conda update python

Then try again. That should solve the problem, but let us know if it does for you.

TodaysTomSawyer587 commented 1 year ago

That worked. Thanks!

ccordoba12 commented 1 year ago

Great! Closing then.