spyder-ide / spyder-terminal

Run system terminals inside Spyder. Works on Linux, macOS and Windows.
MIT License
227 stars 77 forks source link

terminal server not starting with python>=3.10 #331

Open briswi opened 2 years ago

briswi commented 2 years ago

Description of your problem

This is similar to an already open issue (https://github.com/spyder-ide/spyder-terminal/issues/325). Submitting new issue as it is occurring for different versions and main components. What steps will reproduce the problem?

  1. Install spyder and spyder-terminal in a conda environment that has python>=3.10
  2. Start spyder via command line
  3. Close spyder

What is the expected output? What do you see instead? The spyder-terminal window appears within the spyder app, but there is no command prompt. After closing spyder, error message "The server that creates terminals failed to start." appears.

Please provide any additional information below As suggested by @steff456 in issue 325, I also created a new conda environment with python=3.9 and the error does not recur. However, the error message is occurring in any environment with python>=3.10, and the terminal window appears within spyder, but there is no prompt.

I start spyder from bash shell. Within environment with python=3.9.13, spyder starts and the spyder-terminal seems to be working properly. However, I see this (in the terminal that I started spyder from):

fromIccProfile: failed minimal tag size sanity
[183908:183923:0908/165116.430741:ERROR:simple_version_upgrade.cc(165)] Disk cache backend fake index file has wrong magic number.
[183908:183923:0908/165116.430845:ERROR:simple_backend_impl.cc(757)] Simple Cache Backend: wrong file structure on disk: 3 path: ~/.cache/Spyder/QtWebEngine/Default/Cache`

The first line of that readout, fromIccProfile: failed minimal tag size sanity, also occurs when starting spyder in a conda environment without spyder-terminal installed (but still with python=3.9.13).

In any environment with python>=3.10, there is no message on the terminal output regardless of whether spyder-terminal is installed or not.

Versions and main components

spyder_terminal_out.log spyder_terminal_err.log

ccordoba12 commented 1 year ago

Hey @briswi, thanks for reporting. We'll check why Spyder-terminal is not working for Python 3.10 in the coming months. In the meantime, please use it with Python 3.9.

dkinneyBU commented 1 year ago

Similar but different. Just installed Spyder 5.3.3. Notebook is fixed--yay! Terminal is broken--boo!

When I start spyder the Terminal pane is just blank. If I then create a new terminal, the pane populates for a few seconds, and then also goes blank. So, it's like it's trying to start and then fails or hangs.

ccordoba12 commented 1 year ago

@dalthviz, could you check if Spyder-terminal is working for you using the env configuration mentioned by @dkinneyBU?

dalthviz commented 1 year ago

I was able to run the terminal normally (although indeed when starting Spyder you can see it as a blank pane, which I think is related with https://github.com/spyder-ide/spyder-terminal/issues/327). Just in case, this is the env conda list details where I tested (I have Windows 10 though):

``` # packages in environment at C:\Users\dalth\anaconda3\envs\spyder-cf-38: # # Name Version Build Channel alabaster 0.7.12 py_0 conda-forge argon2-cffi 21.3.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py38h294d835_2 conda-forge arrow 1.2.2 pyhd8ed1ab_0 conda-forge astroid 2.11.6 py38haa244fe_0 conda-forge atomicwrites 1.4.1 pyhd8ed1ab_0 conda-forge attrs 22.1.0 pyh71513ae_1 conda-forge autopep8 1.6.0 pyhd8ed1ab_1 conda-forge babel 2.10.3 pyhd8ed1ab_0 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 py_2 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge bcrypt 3.2.2 py38h294d835_0 conda-forge beautifulsoup4 4.11.1 pyha770c72_0 conda-forge binaryornot 0.4.4 py_1 conda-forge black 22.6.0 py38haa244fe_2 conda-forge bleach 5.0.1 pyhd8ed1ab_0 conda-forge brotlipy 0.7.0 py38h294d835_1004 conda-forge ca-certificates 2022.9.24 h5b45459_0 conda-forge certifi 2022.9.24 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py38hd8c33c5_0 conda-forge chardet 5.0.0 py38haa244fe_0 conda-forge charset-normalizer 2.1.0 pyhd8ed1ab_0 conda-forge click 8.1.3 py38haa244fe_0 conda-forge cloudpickle 2.1.0 pyhd8ed1ab_0 conda-forge colorama 0.4.5 pyhd8ed1ab_0 conda-forge coloredlogs 15.0.1 pyhd8ed1ab_3 conda-forge cookiecutter 2.1.1 pyh6c4a22f_0 conda-forge cryptography 37.0.4 py38hb7941b4_0 conda-forge cython 0.29.24 py38h885f38d_1 conda-forge debugpy 1.6.0 py38h885f38d_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge diff-match-patch 20200713 pyh9f0ad1d_0 conda-forge dill 0.3.5.1 pyhd8ed1ab_0 conda-forge docutils 0.19 py38haa244fe_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge flake8 4.0.1 pyhd8ed1ab_2 conda-forge flit-core 3.7.1 pyhd8ed1ab_0 conda-forge gettext 0.19.8.1 ha2e2712_1008 conda-forge glib 2.72.1 h7755175_0 conda-forge glib-tools 2.72.1 h7755175_0 conda-forge gst-plugins-base 1.20.3 he07aa86_0 conda-forge gstreamer 1.20.3 hdff456e_0 conda-forge humanfriendly 10.0 py38haa244fe_2 conda-forge icu 70.1 h0e60522_0 conda-forge idna 3.3 pyhd8ed1ab_0 conda-forge imagesize 1.4.1 pyhd8ed1ab_0 conda-forge importlib-metadata 4.11.4 py38haa244fe_0 conda-forge importlib_metadata 4.11.4 hd8ed1ab_0 conda-forge importlib_resources 5.9.0 pyhd8ed1ab_0 conda-forge inflection 0.5.1 pyh9f0ad1d_0 conda-forge intervaltree 3.0.2 py_0 conda-forge ipykernel 6.15.1 pyh025b116_0 conda-forge ipython 7.33.0 py38haa244fe_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge isort 5.10.1 pyhd8ed1ab_0 conda-forge jedi 0.18.1 pyhd8ed1ab_2 conda-forge jellyfish 0.9.0 py38h294d835_1 conda-forge jinja2 3.1.2 pyhd8ed1ab_1 conda-forge jinja2-time 0.2.0 pyhd8ed1ab_3 conda-forge jpeg 9e h8ffe710_2 conda-forge jsonschema 4.9.1 pyhd8ed1ab_0 conda-forge jupyter_client 7.3.4 pyhd8ed1ab_0 conda-forge jupyter_core 4.11.1 py38haa244fe_0 conda-forge jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge keyring 23.8.2 py38haa244fe_0 conda-forge krb5 1.19.3 h1176d77_0 conda-forge lazy-object-proxy 1.7.1 py38h294d835_1 conda-forge libclang 14.0.6 default_h77d9078_0 conda-forge libclang13 14.0.6 default_h77d9078_0 conda-forge libffi 3.4.2 h8ffe710_5 conda-forge libglib 2.72.1 h3be07f2_0 conda-forge libiconv 1.16 he774522_0 conda-forge libogg 1.3.4 h8ffe710_1 conda-forge libpng 1.6.37 h1d00b33_4 conda-forge libsodium 1.0.18 h8d14728_1 conda-forge libspatialindex 1.9.3 h39d44d4_4 conda-forge libsqlite 3.39.2 h8ffe710_1 conda-forge libvorbis 1.3.7 h0e60522_0 conda-forge libwebp 1.2.4 h8ffe710_0 conda-forge libwebp-base 1.2.4 h8ffe710_0 conda-forge libxml2 2.9.14 hf5bbc77_4 conda-forge libxslt 1.1.35 h34f844d_0 conda-forge libzlib 1.2.12 h8ffe710_2 conda-forge lxml 4.9.1 py38h294d835_0 conda-forge lz4-c 1.9.3 h8ffe710_1 conda-forge markupsafe 2.1.1 py38h294d835_1 conda-forge matplotlib-inline 0.1.3 pyhd8ed1ab_0 conda-forge mccabe 0.6.1 py_1 conda-forge mistune 0.8.4 py38h294d835_1005 conda-forge mypy_extensions 0.4.3 py38haa244fe_5 conda-forge nbclient 0.6.6 pyhd8ed1ab_0 conda-forge nbconvert 6.5.3 pyhd8ed1ab_0 conda-forge nbconvert-core 6.5.3 pyhd8ed1ab_0 conda-forge nbconvert-pandoc 6.5.3 pyhd8ed1ab_0 conda-forge nbformat 5.4.0 pyhd8ed1ab_0 conda-forge nest-asyncio 1.5.5 pyhd8ed1ab_0 conda-forge notebook 6.4.12 pyha770c72_0 conda-forge numpydoc 1.4.0 pyhd8ed1ab_1 conda-forge openssl 1.1.1q h8ffe710_0 conda-forge packaging 21.3 pyhd8ed1ab_0 conda-forge pandoc 2.19 h57928b3_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge paramiko 2.11.0 pyhd8ed1ab_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge pathspec 0.9.0 pyhd8ed1ab_0 conda-forge pcre 8.45 h0e60522_0 conda-forge pexpect 4.8.0 pyh9f0ad1d_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pip 22.2.2 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_0 conda-forge platformdirs 2.5.2 pyhd8ed1ab_1 conda-forge pluggy 1.0.0 py38haa244fe_3 conda-forge ply 3.11 py_1 conda-forge prometheus_client 0.14.1 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.30 pyha770c72_0 conda-forge psutil 5.9.1 py38h294d835_0 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pycodestyle 2.8.0 pyhd8ed1ab_0 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pydocstyle 6.1.1 pyhd8ed1ab_0 conda-forge pyflakes 2.4.0 pyhd8ed1ab_0 conda-forge pygments 2.12.0 pyhd8ed1ab_0 conda-forge pylint 2.14.5 pyhd8ed1ab_0 conda-forge pyls-spyder 0.4.0 pyhd8ed1ab_0 conda-forge pynacl 1.5.0 py38h31c79cd_1 conda-forge pyopenssl 22.0.0 pyhd8ed1ab_0 conda-forge pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge pyqt 5.15.7 py38h75e37d8_0 conda-forge pyqt5-sip 12.11.0 py38h885f38d_0 conda-forge pyqtwebengine 5.15.7 py38h75e37d8_0 conda-forge pyreadline3 3.4.1 py38haa244fe_0 conda-forge pyrsistent 0.18.1 py38h294d835_1 conda-forge pysocks 1.7.1 py38haa244fe_5 conda-forge python 3.8.12 h7840368_2_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.16.1 pyhd8ed1ab_0 conda-forge python-lsp-black 1.2.1 pyhd8ed1ab_0 conda-forge python-lsp-jsonrpc 1.0.0 pyhd8ed1ab_0 conda-forge python-lsp-server 1.5.0 pyhd8ed1ab_0 conda-forge python-slugify 6.1.2 pyhd8ed1ab_0 conda-forge python_abi 3.8 2_cp38 conda-forge pytoolconfig 1.2.2 pyhd8ed1ab_0 conda-forge pytz 2022.2.1 pyhd8ed1ab_0 conda-forge pywin32 303 py38h294d835_0 conda-forge pywin32-ctypes 0.2.0 py38haa244fe_1005 conda-forge pywinpty 2.0.2 py38h5da7b33_0 pyyaml 6.0 py38h294d835_4 conda-forge pyzmq 23.2.1 py38h09162b1_0 conda-forge qdarkstyle 3.0.3 pyhd8ed1ab_0 conda-forge qstylizer 0.2.1 pyhd8ed1ab_0 conda-forge qt-main 5.15.4 h467ea89_2 conda-forge qt-webengine 5.15.4 h7325c83_3 conda-forge qtawesome 1.1.1 pyhd8ed1ab_0 conda-forge qtconsole 5.3.2 pyhd8ed1ab_0 conda-forge qtconsole-base 5.3.2 pyha770c72_0 conda-forge qtpy 2.2.0 pyhd8ed1ab_0 conda-forge requests 2.28.1 pyhd8ed1ab_0 conda-forge rope 1.3.0 pyhd8ed1ab_0 conda-forge rtree 1.0.0 py38h8b54edf_1 conda-forge send2trash 1.8.0 pyhd8ed1ab_0 conda-forge setuptools 65.0.0 py38haa244fe_0 conda-forge sip 6.6.2 py38h885f38d_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge snowballstemmer 2.2.0 pyhd8ed1ab_0 conda-forge sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge soupsieve 2.3.2.post1 pyhd8ed1ab_0 conda-forge sphinx 5.1.1 pyhd8ed1ab_1 conda-forge sphinxcontrib-applehelp 1.0.2 py_0 conda-forge sphinxcontrib-devhelp 1.0.2 py_0 conda-forge sphinxcontrib-htmlhelp 2.0.0 pyhd8ed1ab_0 conda-forge sphinxcontrib-jsmath 1.0.1 py_0 conda-forge sphinxcontrib-qthelp 1.0.3 py_0 conda-forge sphinxcontrib-serializinghtml 1.1.5 pyhd8ed1ab_2 conda-forge spyder 5.3.3 py38haa244fe_0 conda-forge spyder-kernels 2.3.3 py38haa244fe_0 conda-forge spyder-notebook 0.4.0 pyh1a96a4e_0 conda-forge spyder-terminal 1.2.2 py38haa244fe_0 conda-forge sqlite 3.39.2 h8ffe710_1 conda-forge terminado 0.15.0 py38haa244fe_0 conda-forge text-unidecode 1.3 py_0 conda-forge textdistance 4.3.0 pyhd8ed1ab_0 conda-forge three-merge 0.1.1 pyh9f0ad1d_0 conda-forge tinycss2 1.1.1 pyhd8ed1ab_0 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge tomlkit 0.11.4 pyha770c72_0 conda-forge tornado 6.2 py38h294d835_0 conda-forge traitlets 5.3.0 pyhd8ed1ab_0 conda-forge typing 3.10.0.0 pyhd8ed1ab_0 conda-forge typing-extensions 4.3.0 hd8ed1ab_0 conda-forge typing_extensions 4.3.0 pyha770c72_0 conda-forge ucrt 10.0.20348.0 h57928b3_0 conda-forge ujson 5.3.0 py38h885f38d_0 conda-forge unidecode 1.3.4 pyhd8ed1ab_0 conda-forge urllib3 1.26.11 pyhd8ed1ab_0 conda-forge vc 14.2 hb210afc_6 conda-forge vs2015_runtime 14.29.30037 h902a5da_6 conda-forge watchdog 2.1.9 py38haa244fe_0 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge webencodings 0.5.1 py_1 conda-forge whatthepatch 1.0.2 pyhd8ed1ab_0 conda-forge wheel 0.37.1 pyhd8ed1ab_0 conda-forge win_inet_pton 1.1.0 py38haa244fe_4 conda-forge winpty 0.4.3 4 conda-forge wrapt 1.14.1 py38h294d835_0 conda-forge xz 5.2.6 h8d14728_0 conda-forge yaml 0.2.5 h8ffe710_2 conda-forge yapf 0.32.0 pyhd8ed1ab_0 conda-forge zeromq 4.3.4 h0e60522_1 conda-forge zipp 3.8.1 pyhd8ed1ab_0 conda-forge zstd 1.5.2 h6255e5f_4 conda-forge ```

A preview of what I'm seeing:

imagen

dkinneyBU commented 1 year ago

I completely uninstalled anaconda, and re-installed mini-conda, which packages Python 3.9.12, and I have the same results. @dalthviz you mentioned that it starts as a blank pane for you as well. What did you do to "wake it up"?

I also tried with both Powershell and Cmd--the results are the same.

dalthviz commented 1 year ago

@dkinneyBU I just wait for a bit and then the Terminal shows itself (I think the blank pane happens when the Terminal is still loading).

Could it be possible for you to start Spyder on debug mode and share the generated log? Maybe by cheking it we could determine the error happening when starting the Terminal in your case.

To generated the debug log output, run Spyder from an Anaconda prompt using the --debug-info verbose flag, so you will end up running something like spyder --debug-info verbose

dkinneyBU commented 1 year ago

Yeah, I can wait for an hour and it never starts up. :-( dkinneyBU_log.txt

I think I attached the log; if that didn't work let me know and I'll copy & paste.

thank you for the prompt assistance, I appreciate it!

dkinneyBU commented 1 year ago

My machine experiencing this issue is showing Python 3.10.6 in the Console. On a whim, I went through the same install process on my gaming laptop (both machines are running Windows 11). Terminal is working on that install, but this one is showing 3.9.12.

So, looks like this is likely a Python 3.10 thing, as the original issue logger stated. A little later today I will downgrade Python on my main machine to see if the issue goes away.

dkinneyBU commented 1 year ago

@dalthviz-- Welp... I create a new spyder environment with Python 3.9 and just installed spyder 5.3.3 and spyder-terminal--same results. But I did notice a whole boatload of these in the verbose debug log:

Uncaught ReferenceError: spyder_terminal is not defined Uncaught ReferenceError: spyder_terminal is not defined Uncaught ReferenceError: spyder_terminal is not defined Uncaught ReferenceError: spyder_terminal is not defined Uncaught ReferenceError: spyder_terminal is not defined Uncaught ReferenceError: spyder_terminal is not defined

ccordoba12 commented 1 year ago

Don't worry, that's a harmless message.

dalthviz commented 1 year ago

After checking the debug log I'm seeing a couple of things that could be worthy to investigate:

dkinneyBU commented 1 year ago

Hey sorry for the delay, it was a crazy week for me.

@dalthviz so that's interesting. If I hit that url the terminal works fine. So, just not working within Spyder??? Or maybe it's "working" but just not displaying correctly in the pane?

image

Also, in regards to the urllib3 message, I have the same version installed that you do, based on your conda list above.

dalthviz commented 1 year ago

Thanks for the feedback @dkinneyBU ! And then seems like for some reason the Terminal GUI is not able to stablish a connection with the started Terminal server which I guess is related with the Websocket - Connection lost, reconnecting in 1 seconds. message.

Also, just in case checked creating a new env with the conda-forge and Python 3.10.6 but is working for me 🤔

Env details:

``` # Name Version Build Channel alabaster 0.7.12 py_0 conda-forge arrow 1.2.3 pyhd8ed1ab_0 conda-forge astroid 2.12.10 py310h5588dad_0 conda-forge atomicwrites 1.4.1 pyhd8ed1ab_0 conda-forge attrs 22.1.0 pyh71513ae_1 conda-forge autopep8 1.6.0 pyhd8ed1ab_1 conda-forge babel 2.10.3 pyhd8ed1ab_0 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 py_2 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge bcrypt 3.2.2 py310he2412df_0 conda-forge beautifulsoup4 4.11.1 pyha770c72_0 conda-forge binaryornot 0.4.4 py_1 conda-forge black 22.8.0 py310h5588dad_0 conda-forge bleach 5.0.1 pyhd8ed1ab_0 conda-forge brotlipy 0.7.0 py310he2412df_1004 conda-forge bzip2 1.0.8 h8ffe710_4 conda-forge ca-certificates 2022.9.24 h5b45459_0 conda-forge certifi 2022.9.24 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py310hcbf9ad4_0 conda-forge chardet 5.0.0 py310h5588dad_0 conda-forge charset-normalizer 2.1.1 pyhd8ed1ab_0 conda-forge click 8.1.3 py310h5588dad_0 conda-forge cloudpickle 2.2.0 pyhd8ed1ab_0 conda-forge colorama 0.4.5 pyhd8ed1ab_0 conda-forge coloredlogs 15.0.1 pyhd8ed1ab_3 conda-forge cookiecutter 2.1.1 pyh6c4a22f_0 conda-forge cryptography 38.0.1 py310h52f42fa_0 conda-forge debugpy 1.6.3 py310h8a704f9_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge diff-match-patch 20200713 pyh9f0ad1d_0 conda-forge dill 0.3.5.1 pyhd8ed1ab_0 conda-forge docutils 0.19 py310h5588dad_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge flake8 4.0.1 pyhd8ed1ab_2 conda-forge gettext 0.19.8.1 h5728263_1009 conda-forge glib 2.74.0 h12be248_0 conda-forge glib-tools 2.74.0 h12be248_0 conda-forge gst-plugins-base 1.20.3 h001b923_2 conda-forge gstreamer 1.20.3 h6b5321d_2 conda-forge humanfriendly 10.0 py310h5588dad_2 conda-forge icu 70.1 h0e60522_0 conda-forge idna 3.4 pyhd8ed1ab_0 conda-forge imagesize 1.4.1 pyhd8ed1ab_0 conda-forge importlib-metadata 4.11.4 py310h5588dad_0 conda-forge importlib_resources 5.10.0 pyhd8ed1ab_0 conda-forge inflection 0.5.1 pyh9f0ad1d_0 conda-forge intervaltree 3.0.2 py_0 conda-forge ipykernel 6.16.0 pyh025b116_0 conda-forge ipython 7.33.0 py310h5588dad_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge isort 5.10.1 pyhd8ed1ab_0 conda-forge jaraco.classes 3.2.2 pyhd8ed1ab_0 conda-forge jedi 0.18.1 pyhd8ed1ab_2 conda-forge jellyfish 0.9.0 py310he2412df_1 conda-forge jinja2 3.1.2 pyhd8ed1ab_1 conda-forge jinja2-time 0.2.0 pyhd8ed1ab_3 conda-forge jpeg 9e h8ffe710_2 conda-forge jsonschema 4.16.0 pyhd8ed1ab_0 conda-forge jupyter_client 7.3.5 pyhd8ed1ab_0 conda-forge jupyter_core 4.11.1 py310h5588dad_0 conda-forge jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge keyring 23.9.3 py310h5588dad_0 conda-forge krb5 1.19.3 h1176d77_0 conda-forge lazy-object-proxy 1.7.1 py310he2412df_1 conda-forge libclang 14.0.6 default_hf4acfee_0 libclang13 14.0.6 default_h8992b79_0 libffi 3.4.2 h8ffe710_5 conda-forge libglib 2.74.0 h79619a9_0 conda-forge libiconv 1.17 h8ffe710_0 conda-forge libogg 1.3.4 h8ffe710_1 conda-forge libpng 1.6.38 h19919ed_0 conda-forge libsodium 1.0.18 h8d14728_1 conda-forge libspatialindex 1.9.3 h39d44d4_4 conda-forge libsqlite 3.39.4 hcfcfb64_0 conda-forge libvorbis 1.3.7 h0e60522_0 conda-forge libwebp 1.2.4 h8ffe710_0 conda-forge libwebp-base 1.2.4 h8ffe710_0 conda-forge libzlib 1.2.12 hcfcfb64_4 conda-forge markupsafe 2.1.1 py310he2412df_1 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mccabe 0.6.1 py_1 conda-forge mistune 2.0.4 pyhd8ed1ab_0 conda-forge more-itertools 8.14.0 pyhd8ed1ab_0 conda-forge mypy_extensions 0.4.3 py310h5588dad_5 conda-forge nbclient 0.7.0 pyhd8ed1ab_0 conda-forge nbconvert 7.2.1 pyhd8ed1ab_0 conda-forge nbconvert-core 7.2.1 pyhd8ed1ab_0 conda-forge nbconvert-pandoc 7.2.1 pyhd8ed1ab_0 conda-forge nbformat 5.6.1 pyhd8ed1ab_0 conda-forge nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge numpydoc 1.5.0 pyhd8ed1ab_0 conda-forge openssl 1.1.1q h8ffe710_0 conda-forge packaging 21.3 pyhd8ed1ab_0 conda-forge pandoc 2.19.2 h57928b3_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge paramiko 2.11.0 pyhd8ed1ab_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge pathspec 0.10.1 pyhd8ed1ab_0 conda-forge pcre2 10.37 hdfff0fc_1 conda-forge pexpect 4.8.0 pyh9f0ad1d_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pip 22.2.2 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_0 conda-forge platformdirs 2.5.2 pyhd8ed1ab_1 conda-forge pluggy 1.0.0 py310h5588dad_3 conda-forge ply 3.11 py_1 conda-forge prompt-toolkit 3.0.31 pyha770c72_0 conda-forge psutil 5.9.2 py310h8d17308_0 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pycodestyle 2.8.0 pyhd8ed1ab_0 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pydocstyle 6.1.1 pyhd8ed1ab_0 conda-forge pyflakes 2.4.0 pyhd8ed1ab_0 conda-forge pygments 2.13.0 pyhd8ed1ab_0 conda-forge pylint 2.15.3 pyhd8ed1ab_0 conda-forge pyls-spyder 0.4.0 pyhd8ed1ab_0 conda-forge pynacl 1.5.0 py310h4f637d6_1 conda-forge pyopenssl 22.1.0 pyhd8ed1ab_0 conda-forge pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge pyqt 5.15.7 py310hbabf5d4_0 conda-forge pyqt5-sip 12.11.0 py310h8a704f9_0 conda-forge pyqtwebengine 5.15.7 py310hbabf5d4_0 conda-forge pyreadline3 3.4.1 py310h5588dad_0 conda-forge pyrsistent 0.18.1 py310he2412df_1 conda-forge pysocks 1.7.1 pyh0701188_6 conda-forge python 3.10.6 h9a09f29_0_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.16.2 pyhd8ed1ab_0 conda-forge python-lsp-black 1.2.1 pyhd8ed1ab_0 conda-forge python-lsp-jsonrpc 1.0.0 pyhd8ed1ab_0 conda-forge python-lsp-server 1.5.0 hd8ed1ab_1 conda-forge python-lsp-server-base 1.5.0 pyhd8ed1ab_1 conda-forge python-slugify 6.1.2 pyhd8ed1ab_0 conda-forge python_abi 3.10 2_cp310 conda-forge pytoolconfig 1.2.2 pyhd8ed1ab_0 conda-forge pytz 2022.4 pyhd8ed1ab_0 conda-forge pywin32 303 py310he2412df_0 conda-forge pywin32-ctypes 0.2.0 py310h5588dad_1005 conda-forge pywinpty 2.0.8 py310h00ffb61_0 conda-forge pyyaml 6.0 py310he2412df_4 conda-forge pyzmq 24.0.1 py310hcd737a0_0 conda-forge qdarkstyle 3.0.3 pyhd8ed1ab_0 conda-forge qstylizer 0.2.2 pyhd8ed1ab_0 conda-forge qt-main 5.15.6 hf0cf448_0 conda-forge qt-webengine 5.15.4 h7325c83_3 conda-forge qtawesome 1.1.1 pyhd8ed1ab_0 conda-forge qtconsole 5.3.2 pyhd8ed1ab_0 conda-forge qtconsole-base 5.3.2 pyha770c72_0 conda-forge qtpy 2.2.1 pyhd8ed1ab_0 conda-forge requests 2.28.1 pyhd8ed1ab_1 conda-forge rope 1.3.0 pyhd8ed1ab_0 conda-forge rtree 1.0.0 py310h1cbd46b_1 conda-forge setuptools 65.4.1 pyhd8ed1ab_0 conda-forge sip 6.6.2 py310h8a704f9_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge snowballstemmer 2.2.0 pyhd8ed1ab_0 conda-forge sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge soupsieve 2.3.2.post1 pyhd8ed1ab_0 conda-forge sphinx 5.2.3 pyhd8ed1ab_0 conda-forge sphinxcontrib-applehelp 1.0.2 py_0 conda-forge sphinxcontrib-devhelp 1.0.2 py_0 conda-forge sphinxcontrib-htmlhelp 2.0.0 pyhd8ed1ab_0 conda-forge sphinxcontrib-jsmath 1.0.1 py_0 conda-forge sphinxcontrib-qthelp 1.0.3 py_0 conda-forge sphinxcontrib-serializinghtml 1.1.5 pyhd8ed1ab_2 conda-forge spyder 5.3.3 py310h5588dad_0 conda-forge spyder-kernels 2.3.3 py310h5588dad_0 conda-forge spyder-terminal 1.2.2 py310h5588dad_0 conda-forge sqlite 3.39.4 hcfcfb64_0 conda-forge terminado 0.16.0 pyh08f2357_0 conda-forge text-unidecode 1.3 py_0 conda-forge textdistance 4.5.0 pyhd8ed1ab_0 conda-forge three-merge 0.1.1 pyh9f0ad1d_0 conda-forge tinycss2 1.1.1 pyhd8ed1ab_0 conda-forge tk 8.6.12 h8ffe710_0 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge tomlkit 0.11.5 pyha770c72_0 conda-forge tornado 6.2 py310he2412df_0 conda-forge traitlets 5.4.0 pyhd8ed1ab_0 conda-forge typing 3.10.0.0 pyhd8ed1ab_0 conda-forge typing-extensions 4.4.0 hd8ed1ab_0 conda-forge typing_extensions 4.4.0 pyha770c72_0 conda-forge tzdata 2022d h191b570_0 conda-forge ucrt 10.0.20348.0 h57928b3_0 conda-forge ujson 5.5.0 py310h00ffb61_0 conda-forge unidecode 1.3.6 pyhd8ed1ab_0 conda-forge urllib3 1.26.11 pyhd8ed1ab_0 conda-forge vc 14.2 hac3ee0b_8 conda-forge vs2015_runtime 14.29.30139 h890b9b1_8 conda-forge watchdog 2.1.9 py310h5588dad_0 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge webencodings 0.5.1 py_1 conda-forge whatthepatch 1.0.2 pyhd8ed1ab_0 conda-forge wheel 0.37.1 pyhd8ed1ab_0 conda-forge win_inet_pton 1.1.0 py310h5588dad_4 conda-forge winpty 0.4.3 4 conda-forge wrapt 1.14.1 py310he2412df_0 conda-forge xz 5.2.6 h8d14728_0 conda-forge yaml 0.2.5 h8ffe710_2 conda-forge yapf 0.32.0 pyhd8ed1ab_0 conda-forge zeromq 4.3.4 h0e60522_1 conda-forge zipp 3.9.0 pyhd8ed1ab_0 conda-forge zlib 1.2.12 hcfcfb64_4 conda-forge zstd 1.5.2 h7755175_4 conda-forge ```

However, I noticed something. If I launch Spyder from an Anaconda prompt I got the env name on the terminal, but if I run from the shortcut on the Start menu I got a terminal without that information:

From Anaconda prompt:

imagen

From Start menu shortcut:

imagen

Could it be that the envs where you are trying to use Spyder terminal you are mixing conda-channels? Could you compare the env details with your envs to see if there is any difference maybe related with packages like requests and urllib?