Conda 包在新创建的 env 上发现冲突并且无法显示它们
Conda package finds conflicts on newly created env and fails to show them
我在 Anaconda 中创建了一个新环境后尝试安装 menpodetect
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
为空(因为环境刚刚创建)
怎么了?
编辑---------------------------------------- ---------------------------------------------- ----
conda install -c conda-forge menpodetect
returns
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.
尝试从 conda-forge
频道安装它。作者大约一年前开始迁移到该频道。
conda install -c conda-forge menpodetect
menpodetect 团队已放弃对 windows 和 does not plan to reintroduce it. The only version still available for windows is the 3 year old 0.5 version, as you can see on the anaconda website 的支持。
对于这么旧的包,可能会发生并非所有依赖项仍然可以从默认渠道获得的情况。但是,如果您使用 free channel,您仍然可以安装它,其中包含 2017 年 9 月之前的软件包。它已从 conda
默认值中删除 4.7。
使用:
conda install -c free -c menpo menpodetect
然而,根据您的用例,切换到 Linux 或 OSX 可能更可取,以便能够使用 James 的建议安装最新版本
我在 Anaconda 中创建了一个新环境后尝试安装 menpodetect
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
为空(因为环境刚刚创建)
怎么了?
编辑---------------------------------------- ---------------------------------------------- ----
conda install -c conda-forge menpodetect
returns
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.
尝试从 conda-forge
频道安装它。作者大约一年前开始迁移到该频道。
conda install -c conda-forge menpodetect
menpodetect 团队已放弃对 windows 和 does not plan to reintroduce it. The only version still available for windows is the 3 year old 0.5 version, as you can see on the anaconda website 的支持。
对于这么旧的包,可能会发生并非所有依赖项仍然可以从默认渠道获得的情况。但是,如果您使用 free channel,您仍然可以安装它,其中包含 2017 年 9 月之前的软件包。它已从 conda
默认值中删除 4.7。
使用:
conda install -c free -c menpo menpodetect
然而,根据您的用例,切换到 Linux 或 OSX 可能更可取,以便能够使用 James 的建议安装最新版本