解决环境:PackagesNotFoundError失败matplotlib = 1.5.2

时间:2018-04-26 02:01:56

标签: configuration anaconda arcgis

我正在尝试创建一个用于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.

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

1 个答案:

答案 0 :(得分:1)

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

conda config --add channels conda-forge