簡體   English   中英

如何在 Anaconda 中安裝 Matplotlib 3.4.1?

[英]How do I install Matplotlib 3.4.1 in Anaconda?

我想使用僅在版本 3.4.1 中可用的 package。 當我執行conda list時,我看到我的 matplotlib 版本是 3.2.2。

我試過conda.install matplotlib=3.4.1但在這些渠道中返回了PackagesNotFound Error

Current channels:

  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

我試過conda install --channel "conda-forge" matplotlib來解決這個問題,但沒有成功。 它說所有軟件包都已安裝。 我不明白為什么這不起作用,因為網頁https://anaconda.org/conda-forge/matplotlib表明 package 是 v3.4.1

編輯:我嘗試conda update matplotlib將我的更新到 3.3.4 但不是 3.4.1 ... 在查看了這個文檔之后: https://conda.io/projects/conda/en/latest/user-guide/tasks/ manage-pkgs.html#我試過使用pip install matplotlib但那只是指定了一堆Requirement already specified: (...) statements with no upgrade to the installation

任何幫助表示贊賞。

去Matplotlib官網discourse找到了這個帖子: https://discourse.matplotlib.org/t/matplotlib-announce-ann-matplotlib-3-4-1/21991

使用pip install matplotlib==3.4.1 最初我曾嘗試pip install matplotlib=3.4.1但只使用一個“=”是錯誤的。

我嘗試使用 DavidD003 解決方案https://stackoverflow.com/a/66932922/11753330它也適用於 conda 命令: conda install -c conda-forge matplotlib==3.4.2

這樣就更新成功了。 前:

matplotlib                3.3.4            py38hecd8cb5_0  
matplotlib-base           3.3.4            py38h8b3ea08_0

后:

matplotlib                3.4.2            py38h50d1736_0    conda-forge
matplotlib-base           3.4.2            py38h6152e83_0    conda-forge

我想使用僅在版本 3.4.1 中可用的 package。 當我執行conda list時,我看到我的 matplotlib 版本是 3.2.2。

我已經嘗試過conda.install matplotlib=3.4.1但在這些渠道中返回PackagesNotFound Error

Current channels:

  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

我試過conda install --channel "conda-forge" matplotlib來解決這個問題,但沒有運氣。 它說所有軟件包都已安裝。 我不明白為什么這不起作用,因為網頁https://anaconda.org/conda-forge/matplotlib表明 package 是 v3.4.1

編輯:我嘗試conda update matplotlib將我的更新到 3.3.4 但不是 3.4.1 ...查看此文檔后: https://conda.io/projects/conda/en/latest/user-guide/tasks/ manage-pkgs.html#我嘗試使用pip install matplotlib但這只是指定了一堆Requirement already specified: (...) statements with no upgrade to the installation

任何幫助表示贊賞。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM