Dev tip: set terminal:integrated:Inherit Env to False to let the terminal work well for virtual env

 When you use vscode terminal, sometimes you may meet that the terminal does not work well with virtual environment, such as env and conda. The terminal may walk into the env automatically by choosing the right python interpreter. However, the python is inherited from root, not from the virtual env. So by the reminder of vscode itself, we could set terminal:integrated:Inherit Env to False to avoid the issue.

terminal setting to get into the virtual env automatically
terminal setting


Comments

Popular posts from this blog

Lab's weekly topic - week 50 2023 - Detailed explanation for encoder of U-Net

Lab's weekly topic - week 49, 2023 - What's limitations and possible solutions for a new AI tools to detect blood poisoning?

Lab's recommendation: Awesome books to learn machine learning and AI (continue updating)