How to create a virtual environment with python 3.8 for Spyder IDE?

Hello, using the command 'conda install spyder-kernels python=3.8.10’ I installed python 3.8.10 in a created virtual environment. When changing the Python interpreter in Spyder to this virtual environment, the error shown in the screenshot appears in the console.

kernel

How to properly create a virtual environment with python 3.8.10 for Spyder IDE?