New submission from evanTO <edelen@evolution.consulting>:
I have four instances of Python installed on my machine, 2.7x32 & 3.7x32 that I installed manually into their default locations, and 2.7x64 & 3.4x64 that came pre-packaged with a third party piece of software (SPSS). Py Launcher successfully detects the two installations that I installed manually but cannot see the two installations that came with the third party software. Here (https://www.python.org/dev/peps/pep-0397/#configuration-file) there is an allusion to there being commands which allow customization of Py launcher within user space (monkeying around with the registry in a corporate environments is often disallowed). I have created a py.ini file using the [commands] section with respective copies of the following entry: "3.4-64="C:\Program Files\IBM\SPSS\Statistics\24\Python3\python.exe" and saved to "C:\Users\<USER>\AppData\Local" but the additional installations do not appear. I have added the two additional installation directories (and Scripts folders) to the PATH variable and confirmed that the changes persisted (displayed below): PATH=C:\Program Files (x86)\Python37-32\Scripts\;C:\Program Files (x86)\Python37-32\;C:\Python27\;C:\Python27\Scripts;C:\Program Files\IBM\SPSS\Statistics\24\Python\;C:\Program Files\IBM\SPSS\Statistics\24\Python\Scripts\;C:\Program Files\IBM\SPSS\Statistics\24\Python3\;C:\Program Files\IBM\SPSS\Statistics\24\Python3\Scripts\; Current result of "py -0p" (List the available pythons with paths) C:\>py -0p Installed Pythons found by py Launcher for Windows -3.7-32 "C:\Program Files (x86)\Python37-32\python.exe" * -2.7-32 C:\Python27\python.exe Expected result of "py -0p" C:\>py -0p Installed Pythons found by py Launcher for Windows -3.7-32 "C:\Program Files (x86)\Python37-32\python.exe" * -2.7-32 C:\Python27\python.exe -3.4-64 "C:\Program Files\IBM\SPSS\Statistics\24\Python3\python.exe" -2.7-64 "C:\Program Files\IBM\SPSS\Statistics\24\Python\python.exe" ---------- components: Windows messages: 349740 nosy: evanTO, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Adding additional python installations to py launcher type: behavior versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37856> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com