• 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 环境
    在这里插入图片描述
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐