当前位置:   article > 正文

Error while loading conda entry point: conda-libmamba-solver_error while loading conda entry point: anaconda-cl

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

终端输入conda --version之后弹出了以下指令:
Error while loading conda entry point: conda-libmamba-solver (dlopen(/opt/anaconda3/lib/python3.9/site-packages/libmambapy/bindings.cpython-39-darwin.so, 0x0002): Library not loaded: @rpath/libarchive.19.dylib
Referenced from: <027768CD-20C9-3E75-850D-35E842A32FA5> /opt/anaconda3/lib/libmamba.2.0.0.dylib
Reason: tried: ‘/opt/anaconda3/lib/libarchive.19.dylib’ (no such file), ‘/opt/anaconda3/lib/python3.9/site-packages/libmambapy/…/…/…/libarchive.19.dylib’ (no such file), ‘/opt/anaconda3/lib/python3.9/site-packages/libmambapy/…/…/…/libarchive.19.dylib’ (no such file), ‘/opt/anaconda3/bin/…/lib/libarchive.19.dylib’ (no such file), ‘/opt/anaconda3/bin/…/lib/libarchive.19.dylib’ (no such file), ‘/usr/local/lib/libarchive.19.dylib’ (no such file), ‘/usr/lib/libarchive.19.dylib’ (no such file, not in dyld cache))
conda 24.1.2

解决办法:
输入:conda install -n base libarchive -c main --force-reinstall --solver classic将solver指定为classic。

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

闽ICP备14008679号