关于anaconda:Collecting-package-metadata-currentrepodatajson-failed-解决方法

Anaconda无奈装置一些包的问题

anaconda Collecting package metadata (current_repodata.json): failed

具体报错信息为

(env_name) [root@host anaconda3]# conda install python==3.6.2
Collecting package metadata (current_repodata.json): failed

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

    Traceback (most recent call last):
    '''
    此处略去
    '''
        raise Response304ContentUnchanged()
    conda.core.subdir_data.Response304ContentUnchanged

    During handling of the above exception, another exception occurred:
    '''
    此处略去
    '''
    json.decoder.JSONDecodeError: Expecting ':' delimiter: line 46906 column 14 (char 1474212)

`$ /root/anaconda3/bin/conda install python==3.6.2`

解决办法:
运行 conda clean -i 革除索引缓存即可,亲测无效

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理