# 下载 github地址 [conda-forge/miniforge: A conda-forge distribution. (github.com)](https://github.com/conda-forge/miniforge?tab=readme-ov-file)  也可以在清华镜像下载 [Index of /github-release/conda-forge/miniforge/LatestRelease/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror](https://mirrors.tuna.tsinghua.edu.cn/github-release/conda-forge/miniforge/LatestRelease/) # 环境变量  设置文件夹权限给当前用户  初始化 ```bash cd D:\ProgramData\miniforge3\condabin mamba init --all ``` 重启电脑,之后打开终端看看有没有base 如果提示 ``` . : 无法加载文件 C:\Users\12018\Documents\WindowsPowerShell\profile.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参 阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。 所在位置 行:1 字符: 3 + . 'C:\Users\12018\Documents\WindowsPowerShell\profile.ps1' + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [],PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess ``` 使用管理员打开powershell执行 ``` Set-ExecutionPolicy RemoteSigned ``` Loading... # 下载 github地址 [conda-forge/miniforge: A conda-forge distribution. (github.com)](https://github.com/conda-forge/miniforge?tab=readme-ov-file)  也可以在清华镜像下载 [Index of /github-release/conda-forge/miniforge/LatestRelease/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror](https://mirrors.tuna.tsinghua.edu.cn/github-release/conda-forge/miniforge/LatestRelease/) # 环境变量  设置文件夹权限给当前用户  初始化 ```bash cd D:\ProgramData\miniforge3\condabin mamba init --all ``` 重启电脑,之后打开终端看看有没有base 如果提示 ``` . : 无法加载文件 C:\Users\12018\Documents\WindowsPowerShell\profile.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参 阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。 所在位置 行:1 字符: 3 + . 'C:\Users\12018\Documents\WindowsPowerShell\profile.ps1' + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [],PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess ``` 使用管理员打开powershell执行 ``` Set-ExecutionPolicy RemoteSigned ``` Last modification:November 4, 2024 © Allow specification reprint Like 如果觉得我的文章对你有用,请随意赞赏