当我try 在我的Conda环境中安装matplotlib 3.8.0miniconda 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版.

推荐答案

在 compose 这个问题时,Python3.12才刚刚问世几天.100! 你不需要把你的Python 升级到downgrade到3.9.

  • 这是conda美元.您只需使用另一个环境来运行一个python3.9,然后安装所需的任何东西.这就是Conda的意义所在.
  • Matplotlib已经在Python 3.11上运行得相当好了.不需要降到3.9
  • 真的,它只有days年的历史.给它一些时间.保留您的python3.11环境,并将其用于您想要使用的matplotlib.为您在Python3.12中的第一步保留一个Python3.12环境,并try 时不时地安装matplotlib.到了某个时候,会有matplotlib人到场.再等几天就好了.

Python相关问答推荐

为什么我在这个Python脚本中看到索引错误?

Python -按第一个条目减go 日期?

Pandas 修改原始excel

一切似乎都可以自己工作,但当我把它放在一起时,它会抛出RegexMatch错误

调查TensorFlow和PyTorch性能的差异

按日期和组增量计算总价值

获取Azure Pipelines以从pyproject.toml(而不是relevments_dev.文本)安装测试环境

除了Python之外,可以替代bare?

KNN分类器中的GridSearchCV

如何将Matplotlib的fig.add_axes本地坐标与我的坐标关联起来?

Python主进程和分支进程如何共享gc信息?

从管道将Python应用程序部署到Azure Web应用程序,不包括需求包

如何使用矩阵在sklearn中同时对每个列执行matthews_corrcoef?

如何使用Google Gemini API为单个提示生成多个响应?

在函数内部使用eval(),将函数的输入作为字符串的一部分

Pandas 第二小值有条件

运行Python脚本时,用作命令行参数的SON文本

如何从数据库上传数据到html?

Pandas计数符合某些条件的特定列的数量

删除marplotlib条形图上的底边