PsychoPy IDE ensurepip invalid syntax

Hello, I am currently attempting to use pip inside of the PsychoPy shell environment and I keep getting a syntax error for ensurepip. I have my psychopy inside of local user data as this is a shared work laptop. So, I’m running the following:

r"C:.…\Programs\PsychoPy\python.exe" -m ensurepip

The error I get is:

SyntaxError: invalid syntax

With it pointing towards ensurepip

I attempted to use the location without the r in the beginning and I get a unicode error. The r at the beginning fixes that. I’m running the v2024.2.4 version of PsychoPy and this is freshly installed I have essentially done nothing with the program yet. Does anybody know of a fix to this? Do I need to install pip inside of the shell in PsychoPy? I need to run this to install a module to use an external trigger device for a project I’m building/running.

Any and all help would be greatly appreciated!

So I may or may not have solved my issue and that I needed to run my code in the command prompt and not the PsychoPy IDE :man_facepalming: . So just gonna keep this up for future reference for others hahah.