I am currently attempting to build a solution in Visual Studio that calls upon “py” to run. It does not recognize py and throws an error.
In Powershell,
- “python” works.
- “py” does not work.
In Command Prompt,
- “python” and “py” both work.
I’ve added my Python312 and Python312/Scripts directory to system path and restarted to no avail.
I’ve attempted a few different commands that I found from Googling my problem, including doskey and pushing environment variables through Powershell.
Thank you for your assistance.
1