Ask Your Question

Revision history [back]

How to upgrade sagemath from 9.6 to 9.8 using mamba?

In the documentation, it is explained how to install sage using mamba with the line:

mamba create -n sage sage python=3.9

Suppose that this line run few months ago has installed sagemath 9.6 on the computer (MacBookAir) of a colleague. What line should be run now to upgrade the installation from 9.6 to the most recent version 9.8 let's say?

How to upgrade sagemath from 9.6 to 9.8 using mamba?

In the documentation, it is explained how to install sage using mamba with the line:

mamba create -n sage sage python=3.9

Suppose that this line run few months ago has installed sagemath 9.6 on the computer (MacBookAir) of a colleague. my colleague Pascal. What line should be run now to upgrade the installation from 9.6 to the most recent version 9.8 let's say?

How to upgrade sagemath from 9.6 to 9.8 using mamba?

In the documentation, it is explained how to install sage using mamba with the line:

mamba create -n sage sage python=3.9

Suppose that this line run few months ago has installed sagemath 9.6 on the computer (MacBookAir) of my colleague Pascal. What line should be run now to upgrade the installation from 9.6 to the most recent version 9.8 let's say?

The command

mamba create -n sage sage=9.8 python=3.9

does not seem to work:

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)

How to upgrade sagemath from 9.6 to 9.8 using mamba?

In the documentation, it is explained how to install sage using mamba with the line:

mamba create -n sage sage python=3.9

Suppose that this line run few months ago has installed sagemath 9.6 on the computer (MacBookAir) of my colleague Pascal. What line should be run now to upgrade the installation from 9.6 to the most recent version 9.8 let's say?

The command

mamba create -n sage sage=9.8 python=3.9

does not seem to work:

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)

How to upgrade sagemath from 9.6 to 9.8 using mamba?

In the documentation, it is explained how to install sage using mamba with the line:

mamba create -n sage sage python=3.9

Suppose that this This line was run few months ago has to installed sagemath 9.6 on the computer (MacBookAir) of my colleague Pascal. Pascal.

What line should be run now to upgrade the installation from 9.6 to the most recent version 9.8 let's say?9.8?