Use the first python on PATH as the default python executable
See original GitHub issueIt would be nice if the extension used the PATH environment variable in order to find the default python
executable. However, it does not do that:
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to change default python executable on Windows 10?
Open the 'System' properties. · Open Environment Variables · Highlight the 'Path' Variable and click edit. · Edit the values for the Python...
Read more >How Should I Set Default Python Version In Windows?
This is if you have both the versions installed. Go to This PC → Right-click → Click on Properties → Advanced System Settings....
Read more >How to Add Python to PATH
The first step is to locate the directory in which your target Python executable lives. The path to the directory is what you'll...
Read more >Could we add Python to system PATH by default? - Ideas
(*) Running “python3.8.exe” via the registered “App Paths” key requires using the “.exe” extension. From the POV of the shell, “python3 ...
Read more >How to set python path - Net-Informations.Com
/usr/local/bin/python is the default path of the Python directory. What is PYTHONPATH? PYTHONPATH is an environment variable which you can set to add...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Right now it doesn’t seem to be it, but that’s what we’d like it to be in the future 😊 I couldn’t find where else we are tracking this change, so I just created a new issue for it: https://github.com/microsoft/vscode-python/issues/15887
Exactly that.
In my opinion: only
python
andpython3
. That’s because as long as thepython3.8
folder comes first in thePATH
, this is where thepython
andpython3
would be taken. And, I believe all those custompython
installations make sure to expose a binary calledpython3
or justpython
in their/bin
folder.