anaconda Collecting package metadata (current_repodata.json): failed
python
具體報錯信息爲json
(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
清除索引緩存便可,親測有效緩存