最近,我转而使用mamba作为包安装程序,现在正在尝试将h3-py安装到环境中。我尝试过几种方法,首先使用:
mamba install h3-py但上面写着
encountered problems while solving:
- nothing provides requested h3-py如果我尝试用conda (conda install h3-py)安装它,就会遇到类似的问题,它会返回:
PackagesNotFoundError: The following packages are not available from current channels:
- h3-py
Current channels:
- https://conda.anaconda.org/conda-forge/osx-arm64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/osx-arm64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-arm64
- https://repo.anaconda.com/pkgs/r/noarch我也尝试了两个版本的-c康达锻造在最后,但得到了相同的结果(无论如何,康达锻造已经是我的主要渠道,所以我认为这没有改变任何事情)。最后,我还尝试使用pip安装它,并且再次得到了类似的响应:
ERROR: Could not find a version that satisfies the requirement h3-py (from versions: none)
ERROR: No matching distribution found for h3-py奇怪的是,我已经在一个不同的环境中安装了h3和h3pandas (在这里我不使用mamba),所以我不明白为什么突然它找不到它.有人知道怎么解决这个问题吗?我使用的是MacBook Pro M1 Max和Miniforge3。
编辑
最后,我可以使用'pip install h3‘(而不是h3-py)来安装它,但是我仍然想知道为什么我不能通过mamba / conda-forge安装它,因为它在文档中说它可以通过forge安装: h3geo.org/docs/installation。然而,merv在下面的答复中澄清了这一点。
https://stackoverflow.com/questions/72994120
复制相似问题