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

Running 'py' fails if python was installed by scoop #445

Open
ThomC opened this issue Sep 20, 2022 · 1 comment
Open

Running 'py' fails if python was installed by scoop #445

ThomC opened this issue Sep 20, 2022 · 1 comment

Comments

@ThomC
Copy link

ThomC commented Sep 20, 2022

Once provisioning a tilt environment using scoop for installing several required tools, the resulting python installation won't allow a call of 'py' as that launcher won't find any python versions.

Especially the "helm_resource" extension fails during deployment step.

Up to extension v0.30.6 everything works find, starting with v0.30.7 errors occur du to the usage of 'py' launcher. The behavior was changed by #435.

Running cmd: py -3 .... \tilt-extensions\helm_resource\helm-apply-helper.py ...
image

@nicks
Copy link
Member

nicks commented Sep 21, 2022

Hmmm...does it work if you install Python 3.6 or higher?

My understanding is that on Windows, the Python community is encouraging everyone to use the 'py' launcher for portability. See:
https://docs.python.org/3/using/windows.html#python-launcher-for-windows
https://peps.python.org/pep-0397/

That said, I'm not that heavily involved in the Python community, so I could be wrong...and i think the Python community has struggled with these kinds of portability issues.

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

No branches or pull requests

2 participants