在执行conda.sh配置环境时遇到 Your spec was 1.7.1.*, but conda is ignoring the .* and treating it as 1.7.1

具体报错如下:

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
 

在找了文件之后发现没有带*的命令,于是再读了一遍,发现是conda version有问题,我当时是23.7.4.于是更新成最新版为24.7.1.
 

成功解决!

你可能感兴趣的:(conda,linux,运维)