- powershell 配置文件位置
C:\Users\29544\Documents\WindowsPowerShell\profile.ps1
- 修改自定义启动conda环境
#region conda initialize
# !! Contents within this block are managed by 'conda init' !!
(& "D:\software\Anaconda3\Scripts\conda.exe" "shell.powershell" "hook") | Out-String | Invoke-Expression
#endregion
conda activate torch_cuda_env # my activation
- 效果,启动直接进入 torch_cuda_env 环境