forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Milestone
Description
Complexity: 2
Requirements:
- You need to have python installed on your system 3.8 or greater
- Install the latest pre-release of the python extension
- Set
python.createEnvironment.triggertopromptin user settings.
Verification
- Open a folder containing python file and at least one
requirements.txtfile. - Ensure there are no
.venvor.condain the workspace. - The selected python should be the system python (i.e., not a virtual environment)
- Open the python file and click on the run in terminal button at the top right corner in the editor
- you should see a prompt:

Note: this will show up only once per session.
Re-load before trying other triggers: Try debug in terminal (using the command), or try launching a script in debug mode.
Also note: Once you create a .venv and delete it and select a global python before retrying.
Reactions are currently unavailable