VSCode terminal selects virtual environment

VSCode terminal selects virtual environment


If you are used to pycharm, the current virtual environment that the pycharm terminal enters by default. In VSCode, the default is powershell. If you want to make simple settings, you can enter the virtual environment.


1 Click the arrow below


2Select the default profile


3Select Command Prompt C:(Windows(System32) cmd.exe

Insert image description here


4Create a new terminal and enter the virtual environment

Guess you like

Origin blog.csdn.net/wagnbo/article/details/128291773