posit-dev / positron

Positron, a next-generation data science IDE
Other
1.78k stars 49 forks source link

To open a Python Virtual environment in Positron IDE #3794

Closed dmresearch15 closed 1 week ago

dmresearch15 commented 2 weeks ago
dmresearch15 commented 2 weeks ago

How can I open a Python virtual environment in Positron IDE?

seeM commented 2 weeks ago

Press Cmd+Shift+P (or Ctrl+Shift+P) to open the command palette, then choose the "Python: Select Interpreter" command, and select your virtual environment from the list.

If you don't see the environment you're looking for, choose the "Enter interpreter path..." option and choose it manually.

juliasilge commented 2 weeks ago

Also take a look at this documentation: https://github.com/posit-dev/positron/wiki/Interpreter-Selection

juliasilge commented 1 week ago

Let us know if you have further questions on using Python virtual environments in Positron!