当我try 在我的Conda环境中安装matplotlib 3.8.0
和miniconda package manager时,我得到以下错误:
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
版.