Home > Article > Development Tools > vscode cannot activate Conda environment
Cause:
The conda environment cannot be automatically activated in the integrated terminal if PowerShell is set up as the integrated terminal, which is the default integrated terminal on Windows 10.
Solution:
1: Add "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe" in personal settings
, change the default integrated terminal.
2: Add "python.terminal.activateEnvironment": false
in the personal settings to cancel the automatic activation of the environment.
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of vscode cannot activate Conda environment. For more information, please follow other related articles on the PHP Chinese website!