This appears to occur when pointing spyder at the standalone python kernel you have installed rather than the default. Try installing spyder from pip in the python version you desire, following the official instructions here: https://docs.spyder-ide.org/5/installation.html
This will require first installing Visual Studio Build tools ( https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022 )
and Rust (https://rustup.rs/)
After which one can attempt installation with pip install spyder
, and finally running the program with spyder