Windows环境安装配置Miniconda

  1. 从官网下载安装Miniconda
  2. 配置环境变量
    1. ”此电脑“右击”属性“->”高级系统设置“->”高级“->”环境变量“->”系统变量“->”Path“->”编辑“
    2. ”新建“->添加”路径\miniconda3“
    3. ”新建“->添加”路径\miniconda3\Scripts“
    4. ”新建“->添加”路径\miniconda3\Library\bin“
    5. 点击”确定“保存
  3. 可能遇到的问题:

    问题1:”Powershell中:conda init失效、无法使用conda activate“

      解决办法:

      1. 使用管理员权限打开Powershell
      2. 输入”conda init --system --all“
      3. 重启Powershell

    问题2:”Powershell中:无法加载文件……profile.ps1,因为在此系统上禁止运行脚本“

      解决办法:

      1. 使用管理员权限打开Powershell
      2. 输入”Set-ExecutionPolicy -ExecutionPolicy RemoteSigned“
      3. 选择”y“,确认修改安全策略
      4. 重启Powershell
posted @ 2024-01-31 22:15  四十四  阅读(152)  评论(0编辑  收藏  举报