简体   繁体   English

Conda package 在新创建的环境中发现冲突并且无法显示它们

[英]Conda package finds conflicts on newly created env and fails to show them

I tried to install menpodetect after creating a new env in Anaconda在 Anaconda 中创建新环境后,我尝试安装menpodetect

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

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

This is the output of conda install -c menpo menpodetect这是 conda 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 python --version --版本-> Python 3.7.4

conda list is empty (since the env has just been created) conda list为空(因为刚刚创建了 env)

What's wrong?怎么了?

EDIT --------------------------------------------------------------------------------------------------编辑 - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------------------------------

conda install -c conda-forge menpodetect returns 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.

The menpodetect team has dropped support for windows and does not plan to reintroduce it . menpodetect 团队已放弃对 windows 的支持,并且不打算重新引入它 The only version still available for windows is the 3 year old 0.5 version, as you can see on the anaconda website . windows 唯一可用的版本是 3 岁的 0.5 版本,您可以在 anaconda网站上看到。

With a package that old, it can happen that not all dependencies are still available from the default channels.使用这么旧的 package,可能会发生并非所有依赖项仍可从默认通道获得的情况。 You can however still install it, if you use the free channel , which contains packages prior to September 2017. It was removed from conda defaults with 4.7.但是,如果您使用包含 2017 年 9 月之前的软件包的免费频道,您仍然可以安装它。它已从conda默认值 4.7 中删除。

Use:利用:

conda install -c free -c menpo menpodetect

Depending on your usecase however, it might be preferable to switch to Linux or OSX to be able to install the latest version using James suggestion但是,根据您的用例,最好切换到 Linux 或 OSX 以便能够使用 James 建议安装最新版本

Try installing it from the conda-forge channel.尝试从conda-forge频道安装它。 The author started migrating to that channel about a year ago.大约一年前,作者开始迁移到该频道。

conda install -c conda-forge menpodetect

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM