I have several projects that use python, so i use virtual environments for each of those projects. A lot of time i use 2 separate vscode to do my work and use both each virtual environments. When i done with my project, i deactivate both virtual environments. But sometimes one of project's virtual environment is referencing to my global environment variable. When it first happen, i just deleted my .env and start again. But it keeps doing the same every now and then. Why does that happen ? and what to do to prevent that ?
NOTES
I'm using virtualenv env command to start a virtual environment