当前位置:   article > 正文

Error while loading conda entry point问题解决_error while loading conda entry point: anaconda-cl

error while loading conda entry point: anaconda-cloud-auth (cannot import na

总结

是因为根据warning更新了conda而出现错误,解决需要将conda回溯到原来的版本,如下所示

conda install conda=24.3.0 

问题

在使用conda install的时候,无论下载什么都会报错

  1. Error while loading conda entry point: anaconda-cloud-auth (cannot import name 'ChannelAuthBase' from 'conda.plugins.types' )     
  2. Error while loading conda entry point: anaconda-cloud-auth (cannot import name 'ChannelAuthBase' from 'conda.plugins.types' )     

 在报错其他正常报错的信息,如

  1. Collecting package metadata (current_repodata.json): done
  2. Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
  3. Collecting package metadata (repodata.json): done
  4. Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.

调查了一下,应该是因为接收到warning之后,使用提示的指令更新了conda,warning如下所示:

  1. ==> WARNING: A newer version of conda exists. <==
  2. current version: 23.7.4
  3. latest version: 24.3.0
  4. Please update conda by running
  5. $ conda update -n base -c defaults conda
  6. Or to minimize the number of packages updated during conda update use
  7. conda install conda=24.3.0

解决 

使用如下指令将conda版本回溯,即可工作正常。

conda install conda=24.3.0 

其他问题 

回溯之后有一定的概率丢失channel,最好提前备份一份。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/正经夜光杯/article/detail/935828
推荐阅读
相关标签
  

闽ICP备14008679号