Skip to content

Conversation

@jamesgeorge007
Copy link
Contributor

@jamesgeorge007 jamesgeorge007 commented Dec 28, 2018

closes #167
Python is available as py in windows machines by default and not python unless explicitly setting it as an environment variable.

Exception being thrown:

image

@Almenon Almenon self-requested a review December 29, 2018 03:09
@Almenon Almenon added the bug label Dec 29, 2018
@Almenon Almenon merged commit b4e6746 into extrabacon:master Dec 29, 2018
@Almenon
Copy link
Collaborator

Almenon commented Dec 29, 2018

wow, i never knew that py existed. Interesting.

@Almenon
Copy link
Collaborator

Almenon commented Feb 5, 2019

Turns out py is not always availible either. If python is installed for a specific user ("install launcher for all users" is not checked) then py is not put in the windows directory.

https://docs.python.org/3/using/windows.html#installation-steps

@jamesgeorge007 jamesgeorge007 deleted the hotfix/update-path branch February 5, 2019 03:07
@jamesgeorge007
Copy link
Contributor Author

@Almenon In that case the user is required to set an environment variable corresponding to the python path right?
If that's the case we shall access it with process.env 🤔

@Almenon
Copy link
Collaborator

Almenon commented Feb 5, 2019

No - for some reason adding python to path is optional and not even checked by default

@Almenon Almenon mentioned this pull request Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Throwing errors on executing python script

2 participants