configuration - 解决环境:失败的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.
有人知道这意味着什么,有人知道如何解决吗?
解决方案
此问题的解决方案在此链接中: https ://github.com/conda-forge/matplotlib-feedstock 。只需在 Anaconda Prompt 中输入即可。
conda config --add channels conda-forge
推荐阅读
- discord.py - 是否可以在代码中更改 discord.py 机器人名称的颜色?
- owl - OWL 不相交的元素集
- web - 是否有分析服务可以为应用程序中的不同用户提供分析和统计信息?
- python - kivymd:AttributeError:“超级”对象没有属性“__getattr__”
- php - PHP Cookie 未分配给全局数组
- javascript - 需要将数据从产品页面获取到购物车作为滑块侧面板,并让 mysql 数据库数据显示我的字段
- r - 如何在 R 中创建参议院点名投票地图
- nginx - How can we block X-Fordward-For header IP (https request) with IPtables
- html - 需要在 html 锚点上单击两次才能转到 id 或 name
- java - 如何使用 SQLite 在 RecyclerView 中动态添加按钮