New feature of Python extension will change my conda environment settings. #22742
Replies: 1 comment
-
Converted to an issue via #22752 . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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:
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
So could you please help solve this question? It's really annoying. My current solution is add
export CONDA_PREFIX=/home/wangzihan/miniconda3
in .bashrcBeta Was this translation helpful? Give feedback.
All reactions