You need to set the interpreter for the script that you are trying to run. You can do this by clicking on the env name in the lower right corner of the window and selecting the interpreter. For example, I have Pro (3.9), the system's (3.11) and ArcMaps 2.7 for when I need 2.7.
and then select the one that is mapped to your Pro install.
PS, you probably should clone your base python env instead of using the default env. Your cloned envs would be in your C:\Users\you\AppData\Local\ESRI\conda\envs directory.