Fresh install: Cannot start local app -- failure in import sound?

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2020.1.4
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?: Opening the application on a fresh install
Special note: I have a separate python 3.9 installation also

What did you try to make it work?:

What specifically went wrong when you tried that?:
In command prompt:

C:\>"C:\Program Files\PsychoPy3\python.exe" -m psychopy.app.psychopyApp
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html

Then, using “C:\Program Files\PsychoPy3\python.exe” -m idlelib.idle and executing the commands in the idle shell, it automatically resets

>>> from psychopy.app._psychopyApp import PsychoPyApp
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html

=============================== RESTART: Shell ===============================
>>> from psychopy import visual
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
>>> from psychopy import core
>>> from psychopy import sound

=============================== RESTART: Shell ===============================
>>> from psychopy import sound

=============================== RESTART: Shell ===============================

strange update:

>>> from psychopy import sound #This causes an automatic shell restart

=============================== RESTART: Shell ===============================
>>> from psychopy import prefs
>>> prefs.hardware['audioLib'] = [ 'pygame', 'PTB', 'sounddevice','pyo']
>>> from psychopy import sound
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
>>>  #This went fine -- perhaps because a different sound engine was used to start?
=============================== RESTART: Shell ===============================
>>> from psychopy import sound #This again caused a shell restart

=============================== RESTART: Shell ===============================
>>> from psychopy import prefs
>>> prefs.hardware['audioLib'] = [ 'pygame', 'PTB', 'sounddevice','pyo']

>>> import sys
>>> def start_app():
    from psychopy.app._psychopyApp import PsychoPyApp

    showSplash = True
    if '--no-splash' in sys.argv:
        showSplash = False
        del sys.argv[sys.argv.index('--no-splash')]
    app = PsychoPyApp(0, showSplash=showSplash)
    app.MainLoop()

    
>>> start_app() #This started up the program proper
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
WARNING:matplotlib.font_manager:findfont: Font family [''] not found. Falling back to DejaVu Sans.

Now that I’ve opened the program once, having switched the preferences on the first startup, the program starts up every time. I can now even switch to PTB sound to start. Something about the fresh install was causing problems, not sure what. I suspect something needed to be initialized during the first install.