Change conda default environment in Windows powershell

Viewed 39

I am an Anaconda user either if I open the Powershell through the Anaconda Powershell batch or normally from Windows, I got this prompt:

(base) PS C:\Users\yt75534>

I have upgrade my Anaconda 64 bit to python 3.10 and I activated a new environment named py310 with:

conda create -n py310 python=3.10

I wanted to make it my default environment. I tried to change it through Anaconda Navigator but it didn't work, so I followed this guideline. Now, when I open the Powershell through the Anaconda batch I got

 (py310) PS C:\Users\yt75534>

and I am very happy for such an achievement. But when I open it normally from Windows I got:

(base) PS C:\Users\yt75534>

I wish that either I open the Powershell with Anaconda or from Windows I got the same venv. How to fix it?

0 Answers
Related