LibMambaUnsatisfiableError:解决时遇到问题

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

我对

python
很陌生,并且想使用 Spyder,因为我对使用类似于 R-Studio 的东西感兴趣。

我安装了 Anaconda 并按照 Spyder 安装说明进行操作。

到目前为止,这有效,我可以启动 Spyder。

我尝试构建的分析所需的软件包之一是

h5py

,用于读取 
python
 中的 hdf5 文件。

尝试将其安装在 ANACONDA.Navigator 的

spyder-env

 中时,我收到以下错误消息:

LibMambaUnsatisfiableError: Encountered problems while solving: - nothing provides rope 0.9.4 needed by spyder-3.1.2-py35_0 Could not solve for environment specs The following packages are incompatible ├─ h5py is installable with the potential options │ ├─ h5py 3.9.0 would require │ │ └─ hdf5 >=1.12.1,<1.12.2.0a0 with the potential options │ │ ├─ hdf5 1.12.1 would require │ │ │ └─ zlib >=1.2.12,<1.3.0a0 , which can be installed; │ │ ├─ hdf5 1.12.1 would require │ │ │ └─ zlib >=1.2.13,<1.3.0a0 , which can be installed; │ │ └─ hdf5 1.12.1 conflicts with any installable versions previously reported; │ ├─ h5py [2.10.0|2.7.0|2.7.1|2.8.0|2.9.0] would require │ │ └─ python >=3.6,<3.7.0a0 , which can be installed; │ ├─ h5py [2.10.0|2.8.0|...|3.7.0] would require │ │ └─ python >=3.7,<3.8.0a0 , which can be installed; │ ├─ h5py [2.10.0|2.9.0|...|3.9.0] would require │ │ └─ python >=3.8,<3.9.0a0 , which can be installed; │ ├─ h5py [2.10.0|3.2.1|...|3.9.0] would require │ │ └─ python >=3.9,<3.10.0a0 , which can be installed; │ ├─ h5py [2.7.0|2.7.1|2.8.0|2.9.0] would require │ │ └─ python >=2.7,<2.8.0a0 , which can be installed; │ ├─ h5py [2.7.0|2.7.1|2.8.0] would require │ │ └─ python >=3.5,<3.6.0a0 , which can be installed; │ ├─ h5py [3.6.0|3.7.0|3.9.0] would require │ │ └─ python >=3.10,<3.11.0a0 , which can be installed; │ ├─ h5py [3.7.0|3.9.0] would require │ │ └─ python >=3.11,<3.12.0a0 , which can be installed; │ ├─ h5py [2.10.0|2.6.0|...|3.9.0] conflicts with any installable versions previously reported; │ ├─ h5py 2.6.0 would require │ │ └─ hdf5 1.8.15* , which does not exist (perhaps a missing channel); │ └─ h5py 2.6.0 would require │ └─ numpy 1.10* , which does not exist (perhaps a missing channel); ├─ pin-1 is not installable because it requires │ └─ python 3.12.* , which conflicts with any installable versions previously reported; └─ spyder is installable with the potential options ├─ spyder 5.5.1 would require │ ├─ keyring >=17.0.0 with the potential options │ │ ├─ keyring 24.3.0 would require │ │ │ └─ python_abi 3.12.* *_cp312, which requires │ │ │ └─ python 3.12.* *_cpython, which can be installed; │ │ ├─ keyring [17.0.0|17.1.1|18.0.0] would require │ │ │ └─ python >=2.7,<2.8.0a0 , which can be installed; │ │ ├─ keyring [17.0.0|17.1.1|...|23.1.0] would require │ │ │ └─ python >=3.6,<3.7.0a0 , which can be installed; │ │ ├─ keyring [17.0.0|17.1.1|...|23.4.0] would require │ │ │ └─ python >=3.7,<3.8.0a0 , which can be installed; │ │ ├─ keyring [18.0.0|18.0.1|...|23.4.0] would require │ │ │ └─ python >=3.8,<3.9.0a0 , which can be installed; │ │ ├─ keyring [21.2.1|21.3.1|...|23.4.0] would require │ │ │ └─ python >=3.9,<3.10.0a0 , which can be installed; │ │ ├─ keyring [23.13.1|23.4.0] would require │ │ │ └─ python >=3.10,<3.11.0a0 , which can be installed; │ │ ├─ keyring [23.13.1|23.4.0] would require │ │ │ └─ python >=3.11,<3.12.0a0 , which can be installed; │ │ └─ keyring [17.0.0|17.1.1|...|24.3.0] conflicts with any installable versions previously reported; │ └─ psutil >=5.3 with the potential options │ ├─ psutil 5.9.0 would require │ │ └─ python >=3.12,<3.13.0a0 but there are no viable options │ │ ├─ python [3.12.0|3.12.1] conflicts with any installable versions previously reported; │ │ └─ python 3.12.1 would require │ │ └─ libzlib >=1.2.13,<1.3.0a0 but there are no viable options │ │ ├─ libzlib 1.2.13 would require │ │ │ └─ zlib 1.2.13 *_5, which conflicts with any installable versions previously reported; │ │ └─ libzlib 1.2.13 would require │ │ └─ zlib 1.2.13 *_4, which conflicts with any installable versions previously reported; │ ├─ psutil 5.9.8 would require │ │ ├─ python >=3.12,<3.13.0a0 but there are no viable options │ │ │ ├─ python [3.12.0|3.12.1] conflicts with any installable versions previously reported; │ │ │ └─ python 3.12.1, which cannot be installed (as previously explained); │ │ └─ python_abi 3.12.* *_cp312, which can be installed (as previously explained); │ ├─ psutil [5.3.1|5.4.0|...|5.6.3] would require │ │ └─ python >=2.7,<2.8.0a0 , which can be installed; │ ├─ psutil [5.3.1|5.4.0|...|5.4.7] would require │ │ └─ python >=3.5,<3.6.0a0 , which can be installed; │ ├─ psutil [5.3.1|5.4.0|...|5.8.0] would require │ │ └─ python >=3.6,<3.7.0a0 , which can be installed; │ ├─ psutil [5.4.6|5.4.7|...|5.9.0] would require │ │ └─ python >=3.7,<3.8.0a0 , which can be installed; │ ├─ psutil [5.6.3|5.6.5|...|5.9.0] would require │ │ └─ python >=3.8,<3.9.0a0 , which can be installed; │ ├─ psutil [5.7.2|5.8.0|5.9.0] would require │ │ └─ python >=3.9,<3.10.0a0 , which can be installed; │ ├─ psutil [5.8.0|5.9.0] would require │ │ └─ python >=3.10,<3.11.0a0 , which can be installed; │ ├─ psutil [5.8.0|5.9.0] would require │ │ └─ python >=3.11,<3.12.0a0 , which can be installed; │ └─ psutil [5.3.1|5.4.0|...|5.9.8] conflicts with any installable versions previously reported; ├─ spyder [3.2.3|3.2.4|...|4.0.1] would require │ └─ python >=2.7,<2.8.0a0 , which can be installed; ├─ spyder [3.2.3|3.2.4|...|3.3.1] would require │ └─ python >=3.5,<3.6.0a0 , which can be installed; ├─ spyder [3.2.3|3.2.4|...|5.0.5] would require │ └─ python >=3.6,<3.7.0a0 , which can be installed; ├─ spyder [3.3.0|3.3.1|...|5.3.3] would require │ └─ python >=3.7,<3.8.0a0 , which can be installed; ├─ spyder [4.0.1|4.1.0|...|5.4.3] would require │ └─ python >=3.8,<3.9.0a0 , which can be installed; ├─ spyder [4.2.0|4.2.1|...|5.4.3] would require │ └─ python >=3.9,<3.10.0a0 , which can be installed; ├─ spyder [5.1.5|5.2.2|...|5.4.3] would require │ └─ python >=3.10,<3.11.0a0 , which can be installed; ├─ spyder [5.4.1|5.4.2|5.4.3] would require │ └─ python >=3.11,<3.12.0a0 , which can be installed; ├─ spyder [2.3.9|3.1.2|...|5.5.1] conflicts with any installable versions previously reported; └─ spyder [3.1.2|3.1.3] would require └─ rope 0.9.4 , which does not exist (perhaps a missing channel). Pins seem to be involved in the conflict. Currently pinned specs: - python 3.12.* (labeled as 'pin-1')
我了解到显然有些软件包不兼容或不满足依赖关系?

我该如何解决或规避这个问题?

非常感谢!

python anaconda spyder h5py
1个回答
0
投票
最后,它按照

这篇文章的示例工作,通过 Anaconda Powershell Prompt 进行安装

conda activate spyder-env conda install -n spyder-env h5py
还是不知道为什么它不能直接在Spyder中运行。

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