forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Milestone
Description
Refs: #23480
- macOS @rebornix
- linux @rebornix
- windows @amunger
- wsl @amunger
- dev container @roblourens
Complexity: 5
Authors: @DonJayamanne
Requirements:
Windows
- Ensure you have at least one Python installed from Store
- Install one python from python.org if you don't already have one
- Install miniconda: https://docs.anaconda.com/free/miniconda/miniconda-install/
- Create few conda environments:
conda create -n <env-name> python
- Install Pyenv-win https://github.com/pyenv-win/pyenv-win?tab=readme-ov-file#installation
- Install few version of python: use
pyenv install
get list of available pythons to install and install a few - Install Python extension from here:
Linux/Mac/WSL
- Ensure you have some python version on PATH
- Install a version of python from homebrew
- Install pyenv: https://github.com/pyenv/pyenv?tab=readme-ov-file#installation
- Install few version of python: use
pyenv install
get list of available pythons to install and install a few - Install miniconda: https://docs.anaconda.com/free/miniconda/miniconda-install/
- Create few conda environments:
conda create -n <env-name> python
- Open VS Code User settings and add
"python.locator": "native"
- Install Python extension from here:
- darwin x64: https://github.com/microsoft/vscode-python/actions/runs/9252458345/artifacts/1540399077
- darwin arm64: https://github.com/microsoft/vscode-python/actions/runs/9252458345/artifacts/1540399075
- linux x64: https://github.com/microsoft/vscode-python/actions/runs/9252458345/artifacts/1540399078
- alpine x64: https://github.com/microsoft/vscode-python/actions/runs/9252458345/artifacts/1540399073
Verification
- Open a workspace that contains a python file in VS Code
- Run the command "Python: Select Interpreter" (screenshot the list of python found)
- Open user settings, and add
"python.locator": "native"
- Run the command "Python: Clear cache and reload window"
- After reloading, Run the command "Python: Select Interpreter" (screenshot the list of python found)
- Create an issue with the before after screen shots.
Note: It is expected that there will be some pythons missing, like venv, poetry, hatch etc. What want to know is, in the areas where it finds "something" does it find all. Like if it finds conda
does it find all conda environments, if it finds pyenv
does it find all pyenv.