Skip to content

New feature of Python extension will change my conda environment settings. #22752

Description

Discussed in #22742

Originally posted by Roderick-Stinson January 11, 2024
Because of the feature of python extension, which is Activate Environments in Terminal Using Environment Variables, python extension will delete an environment variable $CONDA_PREFIX,
the show environment contributions file looks like this:
image
you can see there isn't a variable named CONDA_PREFIX, instead there are CONDA_PREFIX_2andCONDA_PREFIX_3.
this leads to crash of conda
image
So could you please help solve this question? It's really annoying. My current solution is add export CONDA_PREFIX=/home/wangzihan/miniconda3 in .bashrc

Metadata

Metadata

Labels

area-environmentsFeatures relating to handling interpreter environmentstriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions