Collecting package metadata (current_repodata.json): failed 解决办法

解决办法:

  1. run command conda clean -i to see if it works first
  2. remove the .condarc file
  3. run command conda config --set show_channel_urls true in anaconda prompt to regenerate the .condarc file and then modify it

一般情况下,完成第一步可以解决大部分问题。

Important Note: If you encounter this problem, you should try running command conda clean -i first (especially when you haven’t changed anything about channels). If it doesn’t work, then you can try these steps. If you encounter this problem again after these steps, just try running command conda clean -i to see if it works. That’s all I know so far.

Reference:
[1] https://stackoverflow.com/questions/61134985/conda-install-packages-error-collecting-package-metadata-current-repodata-json

你可能感兴趣的:(json,ubuntu,conda)