# 当powershell加载过慢,且环境变量中没有找到可疑程序时,需要检查的文件

1 min read

如出现这种提示:

或者提示加载过慢等,
并且检查了环境变量,没有发现可疑程序,
那么可以检查如下文件:

路径
C:\Users\jiangjunnan\Documents\WindowsPowerShell
文件
profile.ps1

如这个第三行的conda已经在本地删除,
那么可以在文件中注释掉:

#region conda initialize
# !! Contents within this block are managed by 'conda init' !!
#(& "D:\Users\jiangjunnan\Anaconda3\Scripts\conda.exe" "shell.powershell" "hook") | Out-String | Invoke-Expression
#endregion

Comments