美文网首页
解决:Collecting package metadata (

解决:Collecting package metadata (

作者: JIAWEIJIAWEI | 来源:发表于2023-12-26 15:35 被阅读0次

conda安装pytorch报错

Collecting package metadata (current_repodata.json): - WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.7.1.*, but conda is ignoring the .* and treating it as 1.7.1
done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): - WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.6.0.*, but conda is ignoring the .* and treating it as 1.6.0
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0.*, but conda is ignoring the .* and treating it as 1.8.0
WARNING conda.models.version:get_matcher(556): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0.*, but conda is ignoring the .* and treating it as 1.9.0

解决办法,恢复默认源即可:

conda config --remove-key channels

总结:还是官方默认源稳定,添加的其他源容易造成各种奇怪错误

参考:
解决:Collecting package metadata (current_repodata.json)/ Solving environment-CSDN博客

相关文章

网友评论

      本文标题:解决:Collecting package metadata (

      本文链接:https://www.haomeiwen.com/subject/qdmlndtx.html