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
Use Python launcher if present #7541
Conversation
I was having some problems because I have two Python interpreters installed. So I changed the script to use the launcher. Cheers,
Hi, somewhat of an important blocker for #7105. Thanks.
From: Francisco R. Del Roio [mailto:notifications@github.com]
Sent: Tuesday, August 29, 2017 8:37 PM
To: nvaccess/nvda <nvda@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [nvaccess/nvda] Use Python launcher if present (#7541)
I was having some problems because I have two Python interpreters installed.
Sometimes various interpreters registered to run python scripts can cause problems when running in Windows 10, mainly if you have Python3 installed alongside with python2.
This is a quick workaround to fix this thing.
I've tested it and it works well.
Cheers,
…_____
You can view, comment on, or merge this pull request online at:
#7541
Commit Summary
* Use Python launcher if present
File Changes
* M scons.bat <https://github.com/nvaccess/nvda/pull/7541/files#diff-0> (12)
Patch Links:
* https://github.com/nvaccess/nvda/pull/7541.patch
* https://github.com/nvaccess/nvda/pull/7541.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#7541> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AHgLkG9d0NPfQ12VS9y9P64hnBIm7XFZks5sdNjJgaJpZM4PG01p> .
|
Hello, I know, but I think that this is a trivial change to do later when migration happens. Cheers, |
Hi, @michaelDCurran, any comments? I think this could be useful for our eventual Python 3 transition (#7105). Thanks. |
On my Windows 10 machine build 16291 scons.bat always tries to call 'py' which on my system does not exist. It is as if where py succeeds with an errorlevel of 0. However, manually running it and echoing errorlevel its 1, not 0. Is the syntax of the if check correct? |
Hello, I've fixed it. Cheers, |
This is better. Can we also redirect stderr to nul as well? As if where does not locate the executable, an annoying info message is shown. Thanks |
…ure because of unexpected behavior when interrupting a command or when it exits with errors
I was having some problems because I have two Python interpreters installed.
Sometimes various interpreters registered to run python scripts can cause problems when running in Windows 10, mainly if you have Python3 installed alongside with python2.
This is a quick workaround to fix this thing.
I've tested it and it works well.
Cheers,