gpt4 book ai didi

linux conda 安装 log4j-2.10.0 包问题

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:37:00 25 4
gpt4 key购买 nike

我是 conda 环境的新手。我正在运行 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

谁能帮帮我?请指教。谢谢。

最佳答案

将tar.gz文件所在的目录添加到搜索到的 channel 中:

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

在你的情况下:

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

关于linux conda 安装 log4j-2.10.0 包问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47785358/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com