I use pycharm with a standard python install. When I use standalone PsychoPy I just use the Coder.
There’s something about the packaging of the python inside the app that means it doesn’t like being launched like a regular python. It knows that it has been “frozen” somehow