conda:Collecting package metadata (current_repodata.json): failed

发布时间:2024年01月18日

使用conda?install和conda create命令会出现下面的问题:

Collecting package metadata (current_repodata.json): failed

Collecting package metadata (current_repodata.json): failed

       >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "D:\Anaconda3\lib\site-packages\conda\exceptions.py", line 1079, in __call__
        return func(*args, **kwargs)
      File "D:\Anaconda3\lib\site-packages\conda\cli\main.py", line 84, in _main
        exit_code = do_call(args, p)
      File "D:\Anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 82, in do_call
        return getattr(module, func_name)(args, parser)
      File "D:\Anaconda3\lib\site-packages\conda\cli\main_install.py", line 20, in execute
        install(args, parser, 'install')

解决办法:

conda config --show-sources

找到.condarc文件位置并删除。

?

文章来源:https://blog.csdn.net/sinat_34461199/article/details/135656343
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。