You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test support for detection and selection of conda environments lacking a python interpreter #18731
Make sure Conda is installed. Tagging everyone on the team as we already have a bunch of environments available, and it may take a significant time for other folks to install stuff.
Use pre release build of the python extension.
Step 1: Test discovery
Activate Python extension
Create two conda environments like so:
conda create -n test1
conda create -n test2
Refresh the interpreter's list using the refresh icon to see the environment:
Step 2: Test selection
Select the environment via the interpreters list.
Notice status bar displays the following:
Expand the notification and click on the hyperlink, the output channel should open which describes the commands extension is running:
Note environment should still be usable while installation is ongoing, play around with it. Try debugging a simple python file for example:
print("Hello world!")
Packages like ipykernel should also be installable at this point.
Notice status bar indicates that a interpreter refresh is triggered once installation has finished.
Once refresh has finished, notice interpreter list now indicates that Python is installed within the environment:
6. Double check the output channel to make sure there aren't any unexpected errors.
Activity