错误原因:conda在从https://conda.anaconda.org/rapidsai/linux-64/获取包的元数据时返回404错误。

解决方法:检查网络连接是否正常,或者更换镜像源。

更换镜像源的方法:

  1. 打开Anaconda Prompt或终端。

  2. 输入以下命令更换镜像源:

    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
    conda config --set show_channel_urls yes
    

    或者

    conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
    conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
    conda config --set show_channel_urls yes
    
  3. 输入conda clean -i清空缓存。

  4. 重新运行命令安装包。

解决代码:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
conda clean -i
conda install --yes --prefix /opt/conda ppcls
``
以下是指什么错误怎么解决给出解决代码Retrieving notices working doneCollecting package metadata current_repodatajson failed# ERROR REPORT Traceback most recent call last File optcondalibpython310site-packagesc

原文地址: https://www.cveoy.top/t/topic/hedk 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录