Automatically Activate Python Virtual Environment in VScode for Django Project

preview_player
Показать описание
Have your Python virtual environment already loaded and ready to go when you open your Django Project in Visual Studio Code

{
"folders": [
{
"path": "."
}
],
"settings": {
}
}
Рекомендации по теме
Комментарии
Автор

Ok, but what if you want to use multiple virtual environments? Then you would have to change the default interpreter path each time.

Adeltraut
Автор

can the path be a relative path to the root directory, if I set the virtual environment folder inside the project root directory?

xsuperman