当我尝试安装
matplotlib 3.8.0
在我的conda环境中
miniconda包管理器
我得到以下错误:
Solving environment: / warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- cannot install both pin-1-1 and pin-1-1
- nothing provides numpy 1.10* needed by matplotlib-1.5.3-np110py34_1
Could not solve for environment specs
The following packages are incompatible
ââ matplotlib is installable with the potential options
â ââ matplotlib 1.5.3 would require
â â ââ numpy 1.10* , which does not exist (perhaps a missing channel);
â ââ matplotlib 1.5.3 would require
â â ââ python 3.4* but there are no viable options
â â ââ python 3.4.5 would require
â â â ââ vc 10.* , which does not exist (perhaps a missing channel);
â â ââ python 3.4.5 would require
â â ââ vs2010_runtime, which does not exist (perhaps a missing channel);
â ââ matplotlib 1.5.3 would require
â â ââ pyqt 4.11.* , which requires
â â ââ qt 4.8.* , which does not exist (perhaps a missing channel);
â ââ matplotlib [2.0.2|2.1.0|...|2.2.4] would require
â â ââ python >=2.7,<2.8.0a0 , which can be installed;
â ââ matplotlib [2.0.2|2.1.0|...|3.3.4] would require
â â ââ python >=3.6,<3.7.0a0 , which can be installed;
â ââ matplotlib [2.1.2|2.2.2|...|3.5.3] would require
â â ââ python >=3.7,<3.8.0a0 , which can be installed;
â ââ matplotlib [2.2.4|3.1.1|...|3.7.3] would require
â â ââ python >=3.8,<3.9.0a0 , which can be installed;
â ââ matplotlib 2.2.5 would require
â â ââ matplotlib-base >=2.2.5,<2.2.6.0a0 with the potential options
â â ââ matplotlib-base 2.2.5 would require
â â â ââ python >=2.7,<2.8.0a0 , which can be installed;
â â ââ matplotlib-base [2.2.5|3.2.0|...|3.3.2] would require
â â â ââ python >=3.6,<3.7.0a0 , which can be installed;
â â ââ matplotlib-base [2.2.5|3.2.0|...|3.3.2] would require
â â â ââ python >=3.7,<3.8.0a0 , which can be installed;
â â ââ matplotlib-base [2.2.5|3.2.0|...|3.3.2] would require
â â â ââ python >=3.8,<3.9.0a0 , which can be installed;
â â ââ matplotlib-base [2.2.5|3.3.2] would require
â â ââ python >=3.9,<3.10.0a0 , which can be installed;
â ââ matplotlib [3.2.0|3.2.1|3.2.2|3.3.0|3.3.1] would require
â â ââ matplotlib-base [>=3.2.0,<3.2.1.0a0 |>=3.2.1,<3.2.2.0a0 |>=3.2.2,<3.2.3.0a0 |>=3.3.0,<3.3.1.0a0 |>=3.3.1,<3.3.2.0a0 ], whic;
â ââ matplotlib 3.3.2 would require
â â ââ matplotlib-base >=3.3.2,<3.3.3.0a0 , which can be installed (as previously explained);
â ââ matplotlib [3.3.2|3.3.3|...|3.8.0] would require
â â ââ python >=3.9,<3.10.0a0 , which can be installed;
â ââ matplotlib [3.4.3|3.5.0|...|3.8.0] would require
â â ââ python >=3.10,<3.11.0a0 , which can be installed;
â ââ matplotlib [3.6.1|3.6.2|...|3.8.0] would require
â â ââ python >=3.11,<3.12.0a0 , which can be installed;
â ââ matplotlib [2.0.2|2.1.0|...|3.0.0] would require
â ââ python >=3.5,<3.6.0a0 , which can be installed;
ââ pin-1 is not installable because there are no viable options
ââ pin-1 1 would require
â ââ python 3.12.* , which conflicts with any installable versions previously reported;
ââ pin-1 1 would require
ââ 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')
(datasc) C:\Users\USER>conda install matplotlib -c conda-forge
Channels:
- conda-forge
- defaults
Platform: win-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:
- cannot install both pin-1-1 and pin-1-1
- nothing provides numpy 1.10* needed by matplotlib-1.5.3-np110py34_1
Could not solve for environment specs
The following packages are incompatible
ââ matplotlib is installable with the potential options
â ââ matplotlib 1.5.3 would require
â â ââ numpy 1.10* , which does not exist (perhaps a missing channel);
â ââ matplotlib 1.5.3 would require
â â ââ python 3.4* but there are no viable options
â â ââ python 3.4.5 would require
â â â ââ vc 10.* , which does not exist (perhaps a missing channel);
â â ââ python 3.4.5 would require
â â ââ vs2010_runtime, which does not exist (perhaps a missing channel);
â ââ matplotlib 1.5.3 would require
â â ââ pyqt 4.11.* , which requires
â â ââ qt 4.8.* , which does not exist (perhaps a missing channel);
â ââ matplotlib [2.0.2|2.1.0|...|2.2.4] would require
â â ââ python >=2.7,<2.8.0a0 , which can be installed;
â ââ matplotlib [2.0.2|2.1.0|...|3.3.4] would require
â â ââ python >=3.6,<3.7.0a0 , which can be installed;
â ââ matplotlib [2.1.2|2.2.2|...|3.5.3] would require
â â ââ python >=3.7,<3.8.0a0 , which can be installed;
â ââ matplotlib [2.2.4|3.1.1|...|3.7.3] would require
â â ââ python >=3.8,<3.9.0a0 , which can be installed;
â ââ matplotlib 2.2.5 would require
â â ââ matplotlib-base >=2.2.5,<2.2.6.0a0 with the potential options
â â ââ matplotlib-base 2.2.5 would require
â â â ââ python >=2.7,<2.8.0a0 , which can be installed;
â â ââ matplotlib-base [2.2.5|3.2.0|...|3.3.2] would require
â â â ââ python >=3.6,<3.7.0a0 , which can be installed;
â â ââ matplotlib-base [2.2.5|3.2.0|...|3.3.2] would require
â â â ââ python >=3.7,<3.8.0a0 , which can be installed;
â â ââ matplotlib-base [2.2.5|3.2.0|...|3.3.2] would require
â â â ââ python >=3.8,<3.9.0a0 , which can be installed;
â â ââ matplotlib-base [2.2.5|3.3.2] would require
â â ââ python >=3.9,<3.10.0a0 , which can be installed;
â ââ matplotlib [3.2.0|3.2.1|3.2.2|3.3.0|3.3.1] would require
â â ââ matplotlib-base [>=3.2.0,<3.2.1.0a0 |>=3.2.1,<3.2.2.0a0 |>=3.2.2,<3.2.3.0a0 |>=3.3.0,<3.3.1.0a0 |>=3.3.1,<3.3.2.0a0 ], whic;
â ââ matplotlib 3.3.2 would require
â â ââ matplotlib-base >=3.3.2,<3.3.3.0a0 , which can be installed (as previously explained);
â ââ matplotlib [3.3.2|3.3.3|...|3.8.0] would require
â â ââ python >=3.9,<3.10.0a0 , which can be installed;
â ââ matplotlib [3.4.3|3.5.0|...|3.8.0] would require
â â ââ python >=3.10,<3.11.0a0 , which can be installed;
â ââ matplotlib [3.6.1|3.6.2|...|3.8.0] would require
â â ââ python >=3.11,<3.12.0a0 , which can be installed;
â ââ matplotlib [2.0.2|2.1.0|...|3.0.0] would require
â ââ python >=3.5,<3.6.0a0 , which can be installed;
ââ pin-1 is not installable because there are no viable options
ââ pin-1 1 would require
â ââ python 3.12.* , which conflicts with any installable versions previously reported;
ââ pin-1 1 would require
ââ 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')
我已将解算器设置为
libmamba
所以这就是为什么信息看起来有点不同。
除了将我的python降级为
3.9
?我宁愿用最新的版本
3.12.0
。