Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look for python binary first on Windows #6317

Merged
merged 3 commits into from
Feb 11, 2021
Merged

Look for python binary first on Windows #6317

merged 3 commits into from
Feb 11, 2021

Conversation

justinvp
Copy link
Member

We previously looked for python3 and fallback to python on all systems. However, our Windows CI images include a python3.exe symlink to python.exe which does not work with venv. So on Windows, just look for python first, falling back to python3. (The default python.org Windows installation only includes python.exe).

@justinvp justinvp force-pushed the justin/winpyorder branch 2 times, most recently from c67e5f9 to 20ce4f5 Compare February 11, 2021 16:11
We previously looked for `python3` and fallback to `python` on all systems. However, our Windows CI images include a `python3.exe` symlink to `python.exe` which does not work with `venv`. So on Windows, just look for `python` first, falling back to `python3`. (The default python.org Windows installation only includes `python.exe`).
Since we now look for `python` by default first on Windows.
@justinvp justinvp merged commit f111a53 into master Feb 11, 2021
@pulumi-bot pulumi-bot deleted the justin/winpyorder branch February 11, 2021 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants