- 打开 Powershell 并浏览到Anaconda 安装目录中的condabin文件夹
- 在该文件夹中运行./conda init powershell,然后重新打开 powershell。
- 重新打开 powershell后如果出现报错的情况,只需以管理员身份运行 Powershell 并输入以下内容:Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
- 重新打开powershell即可。
如何从PowerShell激活conda环境
最新推荐文章于 2025-02-28 16:53:03 发布