I faced similar problem. My env is Win11, VS2022 and Python3.13.
After switching Python version from 3.13 to a lower version (my case is 3.9(64-bit)) on the interactive window bar, interactive works correctly. The window bar shows a module selection set on "_main_", but 3.13's not.
I don't know why the bug takes place on 3.13