Looks like this is something to do with trying to use a specific version of Python (was trying to force 3.7 but 3.8 [latest] seems to be getting installed)?
It’s odd because the docs on this seem to suggest that what I am doing is ok?
Seems to work once I don’t hardcode the version into the Python path being used but then the tests run on 3.8 which is not desired (yet).
You can force a specific version with choco install --version:
choco install python --version 3.7.5
The example in the docs is not bulletproof. It worked when it was written and 3.8 was released 2 days ago. You can suggest an improvement using the “Improve this page on Github” button.
Note that I wrote python, not python3. These are different packages and for python, 3.7.5 is already available. Check available versions with choco list -e -a <package name>.
The logs show that python3 always installs to C:\Python while python installs to C:\PythonXY.