python - How to install bob.learn.em using conda in ubuntu20?
问题描述
I'm trying to install bob.learn.em
package from https://gitlab.idiap.ch/bob/bob.learn.em
I also tried to install it in google colab. I get the following error:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- bob.learn.em
Current channels:
- https://conda.anaconda.org/conda-forge/linux-64
- https://conda.anaconda.org/conda-forge/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
I also tried the command from the conda page,
conda install -c conda-forge/label/broken bob.learn.em
I tried with supported python 3.5, but then I get the following error:
conda activate bob_plda
(bob_plda) root@ti-SYS-1029GQ-TVRT:/sre# conda install -c conda-forge/label/broken bob.learn.em
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.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.27=0
- feature:|@/linux-64::__glibc==2.27=0
Your installed version is: 2.27
解决方案
You are missing the channels that contain Bob. i.e. conda config --env --add channels https://www.idiap.ch/software/bob/conda
The Github link mentions you first have to follow these instructions: Bob Install Instructions, before running conda install bob.learn.em
which is where you set up all of the channels and dependencies so that you don't get errors like this.
推荐阅读
- google-bigquery - SQL:Google BigQuery 中的日期时间 UTC 和整数转换为日期
- android - 我的片段中的回收站视图导致动画看起来不连贯
- mysql - 根据另一列选择不重复的非重复列
- sql - aws athena 转换数组
> 到餐桌 - python - 通过 object.__getattribute__(type(self), attr) 调用描述符不起作用
- mysql - 一次查询所有数组数据!结果是通过分隔数组的每个 id
- excel - 如何确定我的代码是否成功创建了 oExec 和 nchromePro 对象?
- php - jQuery 没有在 Wordpress 上定义-smoothstate Js
- mysql - 插入数据并用排名填充列
- amazon-web-services - 在 AWS 中,我需要帮助以通过公共 ip 或公共 dns 拒绝 url 并仅允许通过域 (CNAME) 访问