2021年4月22日星期四

How can I make VSC use the same venv everytime?

I'm running MAC OS have my venv in my root folder of my project

/root/venv but VSC does not seem to detect it. Everytime i open the project i have to source the venv

source venv/bin/activate

I want VSC to just auto use this everytime I open the project. I've tried setting the python interpreter to be the one in the venv but that does not seem to activate the venv.

https://stackoverflow.com/questions/67217188/how-can-i-make-vsc-use-the-same-venv-everytime April 23, 2021 at 12:24AM

没有评论:

发表评论