Skip to content

Using setup-python on Windows #27019

Answered by BrightRan
iiSeymour asked this question in Actions
Discussion options

You must be logged in to vote

@iiseymour ,

On Windows the normal name for the python executable is python.exe (console program) or pythonw.exe (for GUI programs).

The python executable is sometimes called python3 on some platforms, where the default ( python ) is the old python 2. On many UNIX-based (inc. Linux and OS X) systems, python 2 is used by system utilities, changing it could have bad consequences on those platforms, hence the name " python3".

On Windows you should be fine - there are other issues on Windows but you won’t get those unless you try to use more than one python version.

So, the following scripts can work on Windows (reference here):

- name: Test ${{ matrix.os }} binding
        run: |
          p…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants