【问题标题】:The 'pyasn1-modules>=0.2.1' distribution was not found and is required by google-auth未找到 'pyasn1-modules>=0.2.1' 分布,它是 google-auth 所必需的
【发布时间】:2021-12-01 03:27:15
【问题描述】:

我想试试 Python 的 Geemap 模块,我通过 conda install geemap -c conda-forge 安装了它。但是在我的 pyhton 代码中导入它时,我有这个错误消息:The 'pyasn1-modules>=0.2.1' distribution was not found and is required by google-auth。所以我更新了pyasn1-modules,现在我有了 0.2.8 版本,但错误仍然存​​在。 如果有人有想法...

【问题讨论】:

  • 当前环境中的某些内容可能存在冲突:尝试使用conda create -n myenv -c conda-forge geemap为其创建新环境

标签: python conda geemap


【解决方案1】:

康达对我来说是个问题。尝试创建一个新环境并使用 pip 安装所有内容并消除了错误。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-26
    • 1970-01-01
    • 2016-08-28
    • 2020-06-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多