Error while loading conda entry point: conda-libmamba-solver

终端输入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。

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值