欢迎您访问365答案网,请分享给你的朋友!
生活常识 学习资料

windows环境Google-sparsehash安装

时间:2023-05-23
问题产生

在复现 Hierarchical Aggregation for 3D Instance Segmentation 代码时预到安装google-sparsehash的要求

但在执行过程中出现以下报错

(hais) C:Users清扬>conda install -c bioconda google-sparsehashCollecting package metadata (current_repodata.json): doneSolving environment: failed with initial frozen solve、Retrying with flexible solve.Collecting package metadata (repodata.json): doneSolving environment: failed with initial frozen solve、Retrying with flexible solve.PackagesNotFoundError: The following packages are not available from current channels: - google-sparsehashCurrent channels: - https://conda.anaconda.org/bioconda/win-64 - https://conda.anaconda.org/bioconda/noarch - https://conda.anaconda.org/conda-forge/win-64 - https://conda.anaconda.org/conda-forge/noarch - https://repo.anaconda.com/pkgs/main/win-64 - https://repo.anaconda.com/pkgs/main/noarch - https://repo.anaconda.com/pkgs/r/win-64 - https://repo.anaconda.com/pkgs/r/noarch - https://repo.anaconda.com/pkgs/msys2/win-64 - https://repo.anaconda.com/pkgs/msys2/noarch - https://conda.anaconda.org/r/win-64 - https://conda.anaconda.org/r/noarch - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/win-64 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/win-64 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/win-64 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/noarch - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/win-64 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarchTo search for alternate channels that may provide the conda package you'relooking for, navigate to https://anaconda.organd use the search bar at the top of the page.

问题解决

参考以下文章

https://blog.csdn.net/weixin_34025051/article/details/85980078?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522164464487016780261995263%2522%252C%2522scm%2522%253A%252220140713.130102334…%2522%257D&request_id=164464487016780261995263&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allsobaiduend~default-1-85980078.first_rank_v2_pc_rank_v29&utm_term=bioconda+&spm=1018.2226.3001.4187

前往Anaconda官网查找google-sparsehash相关信息

https://anaconda.org/search?q=google-sparsehash


发现针对windows系统不应该由bioconda下载该包。
因此之前出现的无法在该channels中找到google-sparsehash包的报错就得到了解释。

改为在Anaconda prompt中执行

conda install -c jithinpr2 google-sparsehash

问题解决!

Copyright © 2016-2020 www.365daan.com All Rights Reserved. 365答案网 版权所有 备案号:

部分内容来自互联网,版权归原作者所有,如有冒犯请联系我们,我们将在三个工作时内妥善处理。