- Open Powershell and browse to the condabin folder in the Anaconda installation directory
- Run ./conda init powershell in that folder and reopen powershell.
- If an error occurs after reopening powershell, just run Powershell as an administrator and enter the following: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
- Just reopen powershell.
How to activate a conda environment from PowerShell
Guess you like
Origin blog.csdn.net/Kigha/article/details/130283199
Recommended
Ranking