zoukankan      html  css  js  c++  java
  • Conda安装软件报错:Solving environment: failed with initial frozen solve. UnsatisfiableError:

    # vep
    # 使用vep对manta结果进行注释
    # manta结果是染色体结构变异(SV),这里使用vep进行注释
    # vep官方说明文档:
    # http://asia.ensembl.org/info/docs/tools/vep/script/vep_tutorial.html
     
    # 安装
    conda create -n VEP
    conda activate VEP
    conda install -c bioconda ensembl-vep
    # 报错:
    # Elapsed: 
    # An HTTP error occurred when trying to retrieve this URL.
    # HTTP errors are often intermittent, and a simple retry will get you on your way.
    # 查询发现是清华镜像的问题,怒换中科大镜像
    # 尝试:显示现在的镜像:
    conda config --show
      - https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/linux-64
      - https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
      - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
      - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
      - https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
    # 删除清华镜像,只留下中科大的:
    conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
    conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
    # 再次安装,继续报错
    conda install -c bioconda ensembl-vep
    # Collecting package metadata (current_repodata.json): done
    # Solving environment: failed with initial frozen solve. Retrying with flexible solve.
    # Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
    # Collecting package metadata (repodata.json): done
    # Solving environment: failed with initial frozen solve. Retrying with flexible solve.
    # Solving environment: -
    # Found conflicts! Looking for incompatible packages.                                                                                                                                                                                        failed
    # UnsatisfiableError:
    # 更新conda
    conda update -n base conda
    conda update -all
    # 修改频道 
    conda config --add channels conda-forge
    conda config --set channel_priority flexible
    # 安装成功!
    May we all proceed with wisdom and grace. https://www.cnblogs.com/YlnChen/
  • 相关阅读:
    [Leetcode]Container With Most Water随记
    [Leetcode]leetcode1-10题随记
    随机梯度下降的逻辑回归算法(SGDLR)
    IRP 与 派遣函数
    RtlInitUnicodeString、IoCreateDevice、IoCreateSymbolicLink、IoDeleteDevice 四个 API 驱动函数的使用
    基类 的薄弱之处
    类 的重载(Overloads)与隐藏(Shadows)
    VS 2013驱动开发 + Windbg + VM双机调试(亲测+详解)
    类 的继承性(Inherits)与 重写(Overrides)
    VB.NET 结构(Structure)和类(Class)的区别
  • 原文地址:https://www.cnblogs.com/YlnChen/p/12710893.html
Copyright © 2011-2022 走看看