安装 Glueviz 时固定的冲突

问题描述 投票:0回答:1

我想使用 ananconda python 发行版安装 Glueviz 软件,但无法这样做。这是我在 anaconda shell 中执行的步骤

  1. conda update -n root conda
  2. conda create -n glueviz-env python
  3. conda activate glueviz-env
  4. conda install -c glueviz glueviz

此后它向我显示了一个错误。

Channels:
 - glueviz
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: \ warning  libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package glueviz-1.2.4-h06a4308_0 requires glue-core 1.2.4, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ glueviz 1.2**  is installable with the potential options
│  ├─ glueviz 1.2.4 would require
│  │  └─ glue-core 1.2.4  with the potential options
│  │     ├─ glue-core 1.2.4 would require
│  │     │  └─ python >=3.6,<3.7.0a0 , which can be installed;
│  │     ├─ glue-core 1.2.4 would require
│  │     │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  │     ├─ glue-core 1.2.4 would require
│  │     │  └─ python >=3.11,<3.12.0a0 , which can be installed;
│  │     ├─ glue-core 1.2.4 would require
│  │     │  └─ python >=3.7,<3.8.0a0 , which can be installed;
│  │     ├─ glue-core 1.2.4 would require
│  │     │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  │     └─ glue-core 1.2.4 would require
│  │        └─ python >=3.9,<3.10.0a0 , which can be installed;
│  ├─ glueviz 1.2.0 would require
│  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  ├─ glueviz 1.2.0 would require
│  │  └─ python >=3.7,<3.8.0a0 , which can be installed;
│  └─ glueviz 1.2.0 would require
│     └─ python >=3.9,<3.10.0a0 , which can be installed;
└─ pin-1 is not installable because it requires
   └─ python 3.12.* , which conflicts with any installable versions previously reported.

Pins seem to be involved in the conflict. Currently pinned specs:
- python 3.12.* (labeled as 'pin-1')

我尝试了以下修改,如here-

CONDA_CHANNEL_PRIORITY=flexible conda install -c glueviz glueviz

但没有任何效果。这是我的输出

Channels:
 - glueviz
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: \ warning  libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides numpy 1.8* needed by glueviz-0.4.0-np18py33_0

Could not solve for environment specs
The following packages are incompatible
├─ glueviz is installable with the potential options
│  ├─ glueviz 0.4.0 would require
│  │  └─ numpy 1.8* , which does not exist (perhaps a missing channel);
│  ├─ glueviz [0.4.0|0.7.3|...|0.9.0] would require
│  │  └─ python 2.7* , which can be installed;
│  ├─ glueviz [0.4.0|0.7.3|...|0.9.0] would require
│  │  └─ python 3.4* , which does not exist (perhaps a missing channel);
│  ├─ glueviz 0.4.0 would require
│  │  └─ python 3.3* , which does not exist (perhaps a missing channel);
│  ├─ glueviz [0.10.0|0.9.1] would require
│  │  └─ pyqt 4.11.* , which does not exist (perhaps a missing channel);
│  ├─ glueviz [0.7.3|0.8.0|0.8.1|0.8.2|0.9.0] would require
│  │  └─ python 3.5* , which can be installed;
│  ├─ glueviz [0.10.1|0.10.2] would require
│  │  └─ glue-core [>=0.10.1 |>=0.10.2 ] with the potential options
│  │     ├─ glue-core [0.13.3|0.13.4|...|1.2.4] would require
│  │     │  └─ python >=3.7,<3.8.0a0 , which can be installed;
│  │     ├─ glue-core [0.10.2|0.10.3|...|0.15.6] would require
│  │     │  └─ python [2.7* |>=2.7,<2.8.0a0 ], which can be installed;
│  │     ├─ glue-core [0.10.2|0.10.3|...|0.15.6] would require
│  │     │  └─ python [3.5* |>=3.5,<3.6.0a0 ], which can be installed;
│  │     ├─ glue-core [0.10.2|0.10.3|...|1.7.0] would require
│  │     │  └─ python [3.6* |>=3.6,<3.7.0a0 ], which can be installed;
│  │     ├─ glue-core [0.15.6|1.0.0|...|1.2.4] would require
│  │     │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  │     ├─ glue-core [0.15.6|1.0.0|...|1.2.4] would require
│  │     │  └─ python >=3.9,<3.10.0a0 , which can be installed;
│  │     ├─ glue-core [1.0.1|1.2.4] would require
│  │     │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  │     ├─ glue-core 1.2.4 would require
│  │     │  └─ python >=3.11,<3.12.0a0 , which can be installed;
│  │     ├─ glue-core 1.0.1 would require
│  │     │  └─ scikit-image with the potential options
│  │     │     ├─ scikit-image [0.13.0|0.13.1|0.14.0|0.14.1|0.14.2] would require
│  │     │     │  └─ python >=2.7,<2.8.0a0 , which can be installed;
│  │     │     ├─ scikit-image [0.13.0|0.13.1|0.14.0] would require
│  │     │     │  └─ python >=3.5,<3.6.0a0 , which can be installed;
│  │     │     ├─ scikit-image [0.13.0|0.13.1|...|0.17.2] would require
│  │     │     │  └─ python >=3.6,<3.7.0a0 , which can be installed;
│  │     │     ├─ scikit-image [0.14.0|0.14.1|...|0.19.3] would require
│  │     │     │  └─ python >=3.7,<3.8.0a0 , which can be installed;
│  │     │     ├─ scikit-image [0.15.0|0.16.2|...|0.20.0] would require
│  │     │     │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  │     │     ├─ scikit-image [0.16.2|0.18.3|0.19.2|0.19.3|0.20.0] would require
│  │     │     │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  │     │     ├─ scikit-image [0.16.2|0.17.2|...|0.20.0] would require
│  │     │     │  └─ python >=3.9,<3.10.0a0 , which can be installed;
│  │     │     └─ scikit-image [0.19.3|0.20.0] would require
│  │     │        └─ python >=3.11,<3.12.0a0 , which can be installed;
│  │     └─ glue-core [0.10.1|0.10.2] would require
│  │        └─ pyqt 4.11.* , which does not exist (perhaps a missing channel);
│  ├─ glueviz 0.8.2 would require
│  │  └─ pyqt 4.* , which does not exist (perhaps a missing channel);
│  ├─ glueviz [0.10.3|0.10.4|...|1.0.0] would require
│  │  └─ glue-core [>=0.10.3 |>=0.10.4 |...|>=0.15.5 ], which can be installed (as previously explained);
│  ├─ glueviz [1.0.0|1.1.0|1.2.0] would require
│  │  ├─ python >=3.8,<3.9.0a0 , which can be installed;
│  │  └─ python_abi 3.8.* *_cp38, which requires
│  │     └─ python 3.8.* , which can be installed;
│  ├─ glueviz [1.0.0|1.1.0|1.2.0] would require
│  │  └─ python >=3.9,<3.10.0a0 , which can be installed;
│  ├─ glueviz 1.0.0 would require
│  │  ├─ python >=3.6,<3.7.0a0 , which can be installed;
│  │  └─ python_abi 3.6.* *_cp36m, which requires
│  │     └─ python 3.6.* , which can be installed;
│  ├─ glueviz [1.0.0|1.1.0|1.2.0] would require
│  │  ├─ python >=3.7,<3.8.0a0 , which can be installed;
│  │  └─ python_abi 3.7.* *_cp37m, which requires
│  │     └─ python 3.7.* , which can be installed;
│  └─ glueviz 1.2.4 would require
│     └─ glue-core 1.2.4 , which can be installed (as previously explained);
└─ pin-1 is not installable because it requires
   └─ python 3.12.* , which conflicts with any installable versions previously reported.

Pins seem to be involved in the conflict. Currently pinned specs:
 - python 3.12.* (labeled as 'pin-1')

如果有人帮助我解决这个问题,我将不胜感激。 谢谢

python anaconda conda astronomy astroquery
1个回答
0
投票

glueviz-feedstock
尚未成功为 Python 3.12 重建(对于 Python 3.12 也称为 迁移)。一般来说,人们应该更喜欢在创建时指定所有要求。另外,
glueviz
频道已经好几年没有更新
glueviz
包了,所以我不建议使用它。尝试类似的事情

conda create -n glueviz-env -c conda-forge glueviz

Conda 会自动计算出最新兼容的 Python 版本(应该是 3.11)。

© www.soinside.com 2019 - 2024. All rights reserved.