Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Alas, something is the matter.

$ conda activate sage

works fine, but not

$ mamba upgrade sage

, see below. Some libarchive is missing.

(sage) pascalweil@MacBook-Air-2022-PW ~ % conda activate sage

(sage) pascalweil@MacBook-Air-2022-PW ~ % mamba upgrade sage

Traceback (most recent call last): File "/Users/pascalweil/sagemath-forge/bin/mamba", line 7, in <module> from mamba.mamba import main File "/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/mamba/mamba.py", line 49, in <module> import libmambapy as api File "/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/libmambapy/__init__.py", line 7, in <module> raise e File "/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/libmambapy/__init__.py", line 4, in <module> from libmambapy.bindings import * # noqa: F401,F403 ImportError: dlopen(/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/libmambapy/bindings.cpython-39-darwin.so, 0x0002): Library not loaded: @rpath/libarchive.13.dylib Referenced from: <91CFAC3D-BB83-3877-9EEE-54AC5B013662> /Users/pascalweil/sagemath-forge/lib/libmamba.2.0.0.dylib Reason: tried: '/Users/pascalweil/sagemath-forge/lib/libarchive.13.dylib' (no such file), '/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/libmambapy/../../../libarchive.13.dylib' (no such file), '/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/libmambapy/../../../libarchive.13.dylib' (no such file), '/Users/pascalweil/sagemath-forge/bin/../lib/libarchive.13.dylib' (no such file), '/Users/pascalweil/sagemath-forge/bin/../lib/libarchive.13.dylib' (no such file), '/usr/local/lib/libarchive.13.dylib' (no such file), '/usr/lib/libarchive.13.dylib' (no such file, not in dyld cache)

Alas, something is the matter.

$ conda activate sage

works fine, but not

$ mamba upgrade sage

, see below. Some libarchive is missing.

(sage) pascalweil@MacBook-Air-2022-PW ~ % conda activate sage

sage

(sage) pascalweil@MacBook-Air-2022-PW ~ % mamba upgrade sage

sage

Traceback (most recent call last): File "/Users/pascalweil/sagemath-forge/bin/mamba", line 7, in <module> from mamba.mamba import main File "/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/mamba/mamba.py", line 49, in <module> import libmambapy as api File "/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/libmambapy/__init__.py", line 7, in <module> raise e File "/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/libmambapy/__init__.py", line 4, in <module> from libmambapy.bindings import * # noqa: F401,F403 ImportError: dlopen(/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/libmambapy/bindings.cpython-39-darwin.so, 0x0002): Library not loaded: @rpath/libarchive.13.dylib Referenced from: <91CFAC3D-BB83-3877-9EEE-54AC5B013662> /Users/pascalweil/sagemath-forge/lib/libmamba.2.0.0.dylib Reason: tried: '/Users/pascalweil/sagemath-forge/lib/libarchive.13.dylib' (no such file), '/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/libmambapy/../../../libarchive.13.dylib' (no such file), '/Users/pascalweil/sagemath-forge/lib/python3.9/site-packages/libmambapy/../../../libarchive.13.dylib' (no such file), '/Users/pascalweil/sagemath-forge/bin/../lib/libarchive.13.dylib' (no such file), '/Users/pascalweil/sagemath-forge/bin/../lib/libarchive.13.dylib' (no such file), '/usr/local/lib/libarchive.13.dylib' (no such file), '/usr/lib/libarchive.13.dylib' (no such file, not in dyld cache)

cache)