0

menpodetect我在 Anaconda 中创建新环境后尝试安装

conda create --name detector
conda activate detector
conda install -c menpo menpodetect

Anaconda 云:https ://anaconda.org/menpo/menpodetect

这是的输出conda install -c menpo menpodetect

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:

python --version->Python 3.7.4

conda list为空(因为刚刚创建了 env)

怎么了?

编辑 - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------------------------------

conda install -c conda-forge menpodetect返回

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:

  - menpodetect

Current channels:

  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/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.
4

2 回答 2

1

menpodetect 团队已经放弃了对 windows 的支持,并且不打算重新引入它正如您在 anaconda网站上看到的那样,唯一可用于 Windows 的版本是 3 岁的 0.5 版本。

对于这么旧的包,可能会发生并非所有依赖项仍可从默认通道获得的情况。但是,如果您使用包含 2017 年 9 月之前的软件包的免费频道,您仍然可以安装它。它已从conda4.7 的默认值中删除。

采用:

conda install -c free -c menpo menpodetect

但是,根据您的用例,最好切换到 Linux 或 OSX 以便能够使用 James 建议安装最新版本

于 2021-01-08T13:27:14.260 回答
0

尝试从conda-forge频道安装它。大约一年前,作者开始迁移到该频道。

conda install -c conda-forge menpodetect
于 2021-01-07T21:32:19.040 回答