Home  >  Article  >  Development Tools  >  vscode cannot activate Conda environment

vscode cannot activate Conda environment

王林
王林Original
2020-02-11 14:47:176337browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn