On Windows, go to File->Preferences->Settings and type Inherit Env. Turn on the checkbox and if it is already checked, uncheck and check again. Restart your Vs code. Find visual steps here: https://dev.to/ankitsahu/terminal-blank-in-vs-code-ubuntu-1kgc