Windows 10 Pro has a python.exe file (which actually is a link to the windows store) that shows up when you run which python and was breaking the windows script. I've since hard-coded the path to C:\Python311\python.exe and checked that Chocolatey installed python 3.11.6 in that location on all Windows 10/11 and 10-based Server distros.
Windows 10 Pro has a python.exe file (which actually is a link to the windows store) that shows up when you run which python and was breaking the windows script. I've since hard-coded the path to C:\Python311\python.exe and checked that Chocolatey installed python 3.11.6 in that location on all Windows 10/11 and 10-based Server distros.