I'm having trouble finding documentation that specifically describes what's needed, but I suspect I'm missing some environment variables.
I have an on_finish command that looks like so:
- cmd: python .\pythonHelloWorld.py
It seems to currently default to using Python 2.7.15, but I would like to use Python 3.7, which looks like it's preinstalled:
https://www.appveyor.com/docs/build-environment/#python
What do I add to my appveyor.yml file to have that script run using my desired version of Python? I tried the following, didn't seem to work:
environment:
matrix:
- PYTHON: "C:\\Python37"

#1 Posted by Owen McDonnell Support staff on 02 Aug, 2018 03:45 PM
Try adding
- SET PATH=%PYTHON%;%PATH%somewhere before you call the python command.Ilya Finkelshteyn closed this discussion on 02 Oct, 2018 09:01 PM.