python - 下载 Pomoxis 的问题
问题描述
当我尝试在 Windows 计算机上下载 Pomoxis 时
conda install pomoxis
这些是我得到的错误。
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 the existing python installation in your environment:
Specifications:
- pomoxis -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0|3.7.10|3.7.10|3.6.12|3.7.9|3.6.12|3.6.9|3.6.9|3.6.9|3.6.9|3.4.*',build='1_73_pypy|2_73_pypy|3_73_pypy|1_73_pypy|0_73_pypy|5_73_pypy|5_73_pypy|4_73_pypy|0_73_pypy']
Your python: python=3.9
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
即使我将 python 的版本更改为 3.5 或 3.6,我也会收到相同的错误(除了它说 python=3.5 或 3.6)。有人能帮我吗?谢谢
解决方案
Conda 的冲突报告不可靠。相反,使用 Mamba,我得出的结论是,主要问题是Bioconda 根本不支持 Windows,特别的失败是没有bcftools
适用于win-64平台的 Conda 构建,这是pomoxis
.
曼巴输出
$ CONDA_SUBDIR=win-64 mamba create -n foo pomoxis
__ __ __ __
/ \ / \ / \ / \
/ \/ \/ \/ \
███████████████/ /██/ /██/ /██/ /████████████████████████
/ / \ / \ / \ / \ \____
/ / \_/ \_/ \_/ \ o \__,
/ _/ \_____/ `
|/
███╗ ███╗ █████╗ ███╗ ███╗██████╗ █████╗
████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
██╔████╔██║███████║██╔████╔██║██████╔╝███████║
██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
██║ ╚═╝ ██║██║ ██║██║ ╚═╝ ██║██████╔╝██║ ██║
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝
mamba (0.13.0) supported by @QuantStack
GitHub: https://github.com/mamba-org/mamba
Twitter: https://twitter.com/QuantStack
█████████████████████████████████████████████████████████████
Looking for: ['pomoxis']
bioconda/win-64 [====================] (00m:00s) Done
pkgs/r/noarch [====================] (00m:00s) No change
pkgs/main/noarch [====================] (00m:00s) Done
pkgs/r/win-64 [====================] (00m:00s) Done
bioconda/noarch [====================] (00m:00s) Done
pkgs/main/win-64 [====================] (00m:00s) Done
conda-forge/noarch [====================] (00m:01s) Done
conda-forge/win-64 [====================] (00m:02s) Done
Encountered problems while solving:
- nothing provides bcftools needed by pomoxis-0.2.2-py_0
在 Windows 上使用 Bioconda 的替代方法是通过 WSL 或容器化系统(例如 Docker)。
推荐阅读
- sql - 跨多个数据库搜索表名 SQL SERVER 2019
- c++ - 从旋转矩阵(相机/标记)获取方向角
- .net-5 - 使用 SelectPdf ArgumentNullException 将 Html 转换为 Pdf
- redis - 执行 Lua 脚本,通过 stackexchange.redis 删除与 Redis DB 上的模式匹配的所有键
- python - 如何在 Windows 上的 PyPy 中安装 Numpy
- server - 为什么 Xampp 服务器提供内部服务器错误
- javascript - 如何安排每个季度的 api 调用?
- python - 无法从 LXML 获取标签
- python - 如何避免/消除表单字段上的完整性错误
- django - Django.session:如何确定 Django 用户会话的开始?