Home > Development Tools > VSCode > body text

vscode cannot activate Conda environment

王林
Release: 2020-02-11 14:47:17
Original
6351 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template