Ubuntu上conda安装pyfftw时环境解决错误

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

我正在尝试从condo-forge 通道在conda 环境中安装pyfftw。我得到以下输出:

$ conda install -c conda-forge pyfftw
Channels:
 - conda-forge
 - 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 _openmp_mutex-5.1-1_gnu requires _libgcc_mutex 0.1 main, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ _openmp_mutex 5.1.*  is installable and it requires
│  └─ _libgcc_mutex 0.1 main, which can be installed;
├─ pin-1 is installable and it requires
│  └─ python 3.11.* , which can be installed;
└─ pyfftw is not installable because there are no viable options
   ├─ pyfftw [0.10.1|0.10.3|...|0.12.0] would require
   │  └─ python [2.7* |>=2.7,<2.8.0a0 ], which conflicts with any installable versions previously reported;
   ├─ pyfftw [0.10.1|0.10.3|0.10.4] would require
   │  └─ python 3.4* , which conflicts with any installable versions previously reported;
   ├─ pyfftw [0.10.1|0.10.3|0.10.4] would require
   │  └─ python [3.5* |>=3.5,<3.6.0a0 ], which conflicts with any installable versions previously reported;
   ├─ pyfftw 0.10.4 would require
   │  └─ python 3.6* , which conflicts with any installable versions previously reported;
   ├─ pyfftw [0.10.4|0.11.0|0.11.1|0.12.0] would require
   │  └─ python >=3.6,<3.7.0a0 , which conflicts with any installable versions previously reported;
   ├─ pyfftw [0.10.4|0.11.0|0.11.1|0.12.0|0.13.0] would require
   │  └─ python >=3.7,<3.8.0a0 , which conflicts with any installable versions previously reported;
   ├─ pyfftw [0.11.1|0.12.0|0.13.0|0.13.1] would require
   │  └─ python >=3.8,<3.9.0a0 , which conflicts with any installable versions previously reported;
   ├─ pyfftw [0.12.0|0.13.0|0.13.1] would require
   │  └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported;
   ├─ pyfftw [0.12.0|0.13.0|0.13.1] would require
   │  └─ python >=3.9,<3.10.0a0 , which conflicts with any installable versions previously reported;
   └─ pyfftw [0.13.0|0.13.1] would require
      └─ libgcc-ng >=12 , which requires
         └─ _libgcc_mutex 0.1 conda_forge, which conflicts with any installable versions previously reported.

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

我不明白这个错误。这是否意味着我们需要三个不同的 python 版本?

有什么办法可以解决这个问题?

我尝试安装 conda-libmamba-solver,但没有成功。操作系统是 Ubuntu 20.04 LTS。

python python-3.x conda mamba pyfftw
1个回答
0
投票

Conda Forge 与 defaults 通道(即 Anaconda)混合包存在

已知问题
。尝试安装一个全新的环境,其中所有内容都来自 Conda Forge。

conda create -n foo -c conda-forge python=3.11 pyfftw

这对我来说没有任何问题。

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