--- notion-id: 87bd0ab5-ffec-445b-a925-7f8c77bc2d4f --- # 步骤一 windows 环境配置路径 ```python C:\ProgramData\Anaconda3\ C:\ProgramData\Anaconda3\Scripts C:\ProgramData\Anaconda3\Library\bin ``` # 步骤二 powershell输入`conda init powershell`,这样powershell就能用conda --- **异常问题:** ```python . : 无法加载文件 C:\Users\Documents\WindowsPowerShell\profile.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 abo ut_Execution_Policies。 所在位置 行:1 字符: 3 + . 'C:\Users\Documents\WindowsPowerShell\profile.ps1' + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [],PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess ``` **解决方案:** ```shell set-executionpolicy remotesigned ```