linux conda安装log4j-2.10.0包问题

时间:2017-12-13 04:13:34

标签: linux installation anaconda log4j2 bioinformatics

我是康达环境的新手。我正在运行GATK包,它显示了从apache丢失Log4j-2包的错误,所以我下载了Log4j包并尝试安装它以便我可以顺利运行脚本,但是,有一个错误。

download link:
https://www.apache.org/dyn/closer.lua/logging/log4j/2.10.0/apache-log4j-2.10.0-bin.tar.gz

code:
conda install apache-log4j-2.10.0-bin.tar.gz

Error:

Fetching package metadata .................

PackageNotFoundError: Packages missing in current channels:

- apache-log4j-2.10.0-bin.tar.gz

We have searched for the packages in the following channels:

- https://conda.anaconda.org/bioconda/linux-64
- https://conda.anaconda.org/bioconda/noarch
- https://conda.anaconda.org/conda-forge/linux-64
- https://conda.anaconda.org/conda-forge/noarch
- https://conda.anaconda.org/r/linux-64
- https://conda.anaconda.org/r/noarch
- https://repo.continuum.io/pkgs/main/linux-64
- https://repo.continuum.io/pkgs/main/noarch
- https://repo.continuum.io/pkgs/free/linux-64
- https://repo.continuum.io/pkgs/free/noarch
- https://repo.continuum.io/pkgs/r/linux-64
- https://repo.continuum.io/pkgs/r/noarch
- https://repo.continuum.io/pkgs/pro/linux-64
- https://repo.continuum.io/pkgs/pro/noarch

任何人都可以帮助我吗?请指教。谢谢。

1 个答案:

答案 0 :(得分:1)

将包含tar.gz文件的目录添加到搜索到的频道:

conda install -c file://dir/to/tar/file apache-log4j

在你的情况下:

conda install -c file:///home/ubuntu/src apache-log4j