首页 > 解决方案 > 解决环境:失败的PackagesNotFoundError matplotlib=1.5.2

问题描述

我正在尝试创建一个用于 ArcGIS 10.5.1 的 Anaconda 环境。我打开 Anaconda Prompt 并输入:

C:\Users\aneme>conda create -n arc1051 python=2.7.13 numpy=1.9.3 
matplotlib=1.5.2 scipy=0.17.0 pandas pyparsing xlrd xlwt console_shortcut

我收到以下错误:

Solving environment: failed

PackagesNotFoundError:  The following packages are not available from 
current channels:

    - matplotlib=1.5.2

Current channels:

     - https://repo.continuum.io/pkgs/main/win-32
     - https://...........
     - https://.......
     etc.

有人知道这意味着什么,有人知道如何解决吗?

标签: configurationanacondaarcgis

解决方案


此问题的解决方案在此链接中: https ://github.com/conda-forge/matplotlib-feedstock 。只需在 Anaconda Prompt 中输入即可。

conda config --add channels conda-forge

推荐阅读