Hi Derek,

Seems like you are running Spyder with Python 3.14. I think there was an 
issue related with that Python version and the dependency Spyder uses as 
Python language server (Fix starting the server for Python 3.14 and run 
tests with that version by ccordoba12 · Pull Request #690 · 
python-lsp/python-lsp-server 
<https://github.com/python-lsp/python-lsp-server/pull/690>). Latest Spyder 
(6.1.2) and python-lsp-server (1.14.0) releases should address that so let 
us know if updating Spyder helps!

Best regards,

Daniel

El viernes, 5 de diciembre de 2025 a las 9:51:23 UTC-5, [email protected] 
escribió:

> Hi
>
> I have done multiple reinstalls on my Linux Mint machine. Spyder 6.1.1 is 
> running from its own conda virtual environment. I have done a settings 
> reset and, it seems, Spyder is now starting up in pure default mode.
>
> Despite this, code folding, completion and outlining does not work, and 
> the bottom panel flags that the Python Language Server needs a restart. 
> Again, it does not matter how many times I do this, the warning is still 
> there.
>
> When I start in debug mode, the logs show this:
>
> 2025-12-05 16:40:51,032 [INFO] 
> [spyder.plugins.completion.providers.languageserver.provider] -> Manual 
> restart for python...
> 2025-12-05 16:40:51,033 [DEBUG] 
> [spyder.plugins.editor.widgets.codeeditor.lsp_mixin] -> Stopping completion 
> services for /home/derek/.config/spyder-py3/temp.py
> 2025-12-05 16:40:51,033 [DEBUG] [spyder.plugins.outlineexplorer.widgets] 
> -> Stop symbol services for language python
> 2025-12-05 16:40:51,033 [INFO] 
> [spyder.plugins.completion.providers.languageserver.provider] -> Stopping 
> LSP client for python...
> 2025-12-05 16:40:51,033 [INFO] 
> [spyder.plugins.completion.providers.languageserver.client] -> Stopping 
> python client...
> 2025-12-05 16:40:51,037 [DEBUG] 
> [spyder.plugins.editor.widgets.codeeditor.lsp_mixin] -> Stopping completion 
> services for /home/derek/.config/spyder-py3/temp.py
> 2025-12-05 16:40:51,037 [DEBUG] [spyder.plugins.outlineexplorer.widgets] 
> -> Stop symbol services for language python
> 2025-12-05 16:40:51,038 [INFO] 
> [spyder.plugins.completion.providers.languageserver.provider] -> Starting 
> LSP client for python...
> 2025-12-05 16:40:51,038 [INFO] 
> [spyder.plugins.completion.providers.languageserver.client] -> Starting 
> server: /home/derek/miniconda3/envs/spyder_env/bin/python3.14 -m pylsp 
> --host 127.0.0.1 --port 2087 --tcp --check-parent-process --log-file 
> /home/derek/.config/spyder-py3/lsp_logs/server_python_90637.log -vv
> 2025-12-05 16:40:51,047 [INFO] 
> [spyder.plugins.completion.providers.languageserver.client] -> Starting 
> transport for python: /home/derek/miniconda3/envs/spyder_env/bin/python3.14 
> -u 
> /home/derek/miniconda3/envs/spyder_env/lib/python3.14/site-packages/spyder/plugins/completion/providers/languageserver/transport/main.py
>  
> --folder /home/derek/.config/spyder-py3/lsp_paths/root_path 
> --transport-debug 3 --server-host 127.0.0.1 --server-port 2087 
>  --zmq-in-port 41559 --zmq-out-port 38529 --external-server
> 2025-12-05 16:40:51,057 [DEBUG] 
> [spyder.plugins.completion.providers.languageserver.client] -> LSP python 
> client started!
> 2025-12-05 16:40:51,178 [DEBUG] 
> [spyder.plugins.completion.providers.languageserver.client] -> python 
> response: server_ready
>
> But still no change to the IDE.
>
> I'd appreciate any help to get this to work - have been using Spyder too 
> many years to abandon it now!
>
> Thanks
> Derek
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/spyderlib/c6b5599c-1bf2-42f0-920d-2deea3875e2dn%40googlegroups.com.

Reply via email to