赞
踩
终端输入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。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。