#๐Ÿ”’ How to use a different venv in a subfolder of a repo in VSCode?

10 messages ยท Page 1 of 1 (latest)

tacit lance
#

Vscode isn't picking up my venv in another folder location when I use ">python select interpreter"
Currently VSCode only reads in the .venv. But I want to create another venv (Venv A) within one of the sub folders only for those specific files in Project A

meager streamBOT
#

@tacit lance

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

patent oracle
#

The VS Code Python interpreter dropdown list actually allows you to input which interpreter you want to use (the text box allows input). Fill up the folder path and it will work. Besides, https://stackoverflow.com/questions/58498746/vscode-python-select-interpreter-add-a-custom-path

tacit lance
tacit lance
patent oracle
tacit lance
#

!close

meager streamBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.