I'm using macOS Mojave version 10.14.6, with Inter Core. I download SageMath 10.6 from https://github.com/3-manifolds/Sage_macOS/releases, choosing the x86_64.dmg. But when I initiated sage and chose the command line to launch, sage crashed. If I choose the Notebook to launch, then it does not give any output.
-- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sage-support/9992ff84-492a-45a9-9a1e-80b1611351d6n%40googlegroups.com.
*************************************************************************** IPython post-mortem report {'commit_hash': 'f9097f68a', 'commit_source': 'installation', 'default_encoding': 'utf-8', 'ipython_path': '/Applications/SageMath-10-6.app/Contents/Frameworks/Sage.framework/Versions/10.6/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/IPython', 'ipython_version': '9.1.0', 'os_name': 'posix', 'platform': 'macOS-10.14.6-x86_64-i386-64bit', 'sys_executable': '/private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/bin/python3', 'sys_platform': 'darwin', 'sys_version': '3.12.5 (main, Mar 24 2025, 10:21:53) [Clang 16.0.0 ' '(clang-1600.0.26.4)]'} *************************************************************************** Application name: Sage Current user configuration structure: {'IPCompleter': {'use_jedi': False}, 'InteractiveShell': {'ast_node_interactivity': 'all', 'colors': 'neutral', 'confirm_exit': False, 'prompts_class': <class 'sage.repl.prompts.SagePrompts'>, 'separate_in': '', 'simple_prompt': False, 'term_title': True}, 'InteractiveShellApp': {'extensions': ['sage']}, 'SageTerminalApp': {'force_interact': True}, 'TerminalIPythonApp': {'display_banner': False, 'shell_class': <class 'sage.repl.interpreter.SageTerminalInteractiveShell'>, 'test_shell': False, 'verbose_crash': True}, 'TerminalInteractiveShell': {'ast_node_interactivity': 'all', 'colors': 'neutral', 'confirm_exit': False, 'prompts_class': <class 'sage.repl.prompts.SagePrompts'>, 'separate_in': '', 'simple_prompt': False, 'term_title': True}} *************************************************************************** Crash traceback: --------------------------------------------------------------------------- --------------------------------------------------------------------------- ImportErrorPython 3.12.5: /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/bin/python3 Sun Jul 6 06:21:24 2025 A problem occurred executing Python code. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call last. File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/bin/sage-ipython:15 1 #!/private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/bin/python3 2 # -*- coding: utf-8 -*- 3 """ 4 Sage IPython startup script. 5 """ 7 # Display startup banner. Do this before anything else to give the user 8 # early feedback that Sage is starting. 9 from sage.misc.banner import banner 10 banner() 12 from sage.repl.interpreter import SageTerminalApp 14 app = SageTerminalApp.instance() ---> 15 app.initialize() app = <sage.repl.interpreter.SageTerminalApp object at 0x106dbddc0> 16 app.start() File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/traitlets/config/application.py:118, in catch_config_error.<locals>.inner(app=<sage.repl.interpreter.SageTerminalApp object>, *args=(), **kwargs={}) 115 @functools.wraps(method) 116 def inner(app: Application, *args: t.Any, **kwargs: t.Any) -> t.Any: 117 try: --> 118 return method(app, *args, **kwargs) method = <function TerminalIPythonApp.initialize at 0x14d008720> app = <sage.repl.interpreter.SageTerminalApp object at 0x106dbddc0> args = () kwargs = {} 119 except (TraitError, ArgumentError) as e: 120 app.log.fatal("Bad config encountered during initialization: %s", e) 121 app.log.debug("Config at the time: %s", app.config) 122 app.exit(1) File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/IPython/terminal/ipapp.py:286, in TerminalIPythonApp.initialize(self=<sage.repl.interpreter.SageTerminalApp object>, argv=None) 274 @catch_config_error 275 def initialize(self, argv=None): 276 """Do actions after construct, but before starting the app.""" 277 super(TerminalIPythonApp, self).initialize(argv) 278 if self.subapp is not None: 279 # don't bother initializing further, starting subapp 280 return 281 # print(self.extra_args) 282 if self.extra_args and not self.something_to_run: 283 self.file_to_run = self.extra_args[0] 284 self.init_path() 285 # create the shell --> 286 self.init_shell() self = <sage.repl.interpreter.SageTerminalApp object at 0x106dbddc0> 287 # and draw the banner 288 self.init_banner() 289 # Now a variety of things that happen after the banner is printed. 290 self.init_gui_pylab() 291 self.init_extensions() 292 self.init_code() File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/repl/interpreter.py:854, in SageTerminalApp.init_shell(self=<sage.repl.interpreter.SageTerminalApp object>) 831 # Shell initialization 832 self.shell = self.shell_class.instance( 833 parent=self, 834 config=self.config, 835 profile_dir=self.profile_dir, 836 ipython_dir=self.ipython_dir) 837 self.shell.configurables.append(self) 838 self.shell.has_sage_extensions = SAGE_EXTENSION in self.extensions 840 # Load the %lprun extension if available 841 try: 842 import line_profiler 843 assert line_profiler # silence pyflakes 844 except ImportError: 845 pass 846 else: 847 self.extensions.append('line_profiler') 849 if self.shell.has_sage_extensions: 850 self.extensions.remove(SAGE_EXTENSION) 852 # load sage extension here to get a crash if 853 # something is wrong with the sage library --> 854 self.shell.extension_manager.load_extension(SAGE_EXTENSION) self = <sage.repl.interpreter.SageTerminalApp object at 0x106dbddc0> SAGE_EXTENSION = 'sage' File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/IPython/core/extensions.py:62, in ExtensionManager.load_extension(self=<IPython.core.extensions.ExtensionManager object>, module_str='sage') 54 def load_extension(self, module_str: str): 55 """Load an IPython extension by its module name. 56 57 Returns the string "already loaded" if the extension is already loaded, 58 "no load function" if the module doesn't have a load_ipython_extension 59 function, or None if it succeeded. 60 """ 61 try: ---> 62 return self._load_extension(module_str) module_str = 'sage' self = <IPython.core.extensions.ExtensionManager object at 0x14d226b40> 63 except ModuleNotFoundError: 64 if module_str in BUILTINS_EXTS: 65 BUILTINS_EXTS[module_str] = True 66 return self._load_extension("IPython.extensions." + module_str) 67 raise File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/IPython/core/extensions.py:79, in ExtensionManager._load_extension(self=<IPython.core.extensions.ExtensionManager object>, module_str='sage') 69 def _load_extension(self, module_str: str): 70 if module_str in self.loaded: 71 return "already loaded" 73 assert self.shell is not None 75 with self.shell.builtin_trap: 76 if module_str not in sys.modules: 77 mod = import_module(module_str) 78 mod = sys.modules[module_str] ---> 79 if self._call_load_ipython_extension(mod): mod = <module 'sage' (namespace) from ['/private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage']> self = <IPython.core.extensions.ExtensionManager object at 0x14d226b40> 80 self.loaded.add(module_str) 81 else: 82 return "no load function" File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/IPython/core/extensions.py:129, in ExtensionManager._call_load_ipython_extension(self=<IPython.core.extensions.ExtensionManager object>, mod=<module 'sage' (namespace) from ['/private/var/t...python3.12.5/lib/python3.12/site-packages/sage']>) 127 def _call_load_ipython_extension(self, mod): 128 if hasattr(mod, 'load_ipython_extension'): --> 129 mod.load_ipython_extension(self.shell) mod = <module 'sage' (namespace) from ['/private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage']> self = <IPython.core.extensions.ExtensionManager object at 0x14d226b40> 130 return True File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/repl/__init__.py:6, in load_ipython_extension(*args=(<sage.repl.interpreter.SageTerminalInteractiveShell object>,)) 4 def load_ipython_extension(*args): 5 import sage.repl.ipython_extension ----> 6 sage.repl.ipython_extension.load_ipython_extension(*args) sage.repl.ipython_extension = <module 'sage.repl.ipython_extension' from '/private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/repl/ipython_extension.py'> args = (<sage.repl.interpreter.SageTerminalInteractiveShell object at 0x14cc79550>,) sage.repl = <module 'sage.repl' from '/private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/repl/__init__.py'> File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/misc/misc.py:1030, in run_once.<locals>.wrapper(*args=(<sage.repl.interpreter.SageTerminalInteractiveShell object>,), **kwargs={}) 1027 @functools.wraps(func) 1028 def wrapper(*args, **kwargs): 1029 if not wrapper.has_run: -> 1030 result = func(*args, **kwargs) func = <function load_ipython_extension at 0x14d731f80> args = (<sage.repl.interpreter.SageTerminalInteractiveShell object at 0x14cc79550>,) kwargs = {} 1031 wrapper.has_run = True 1032 return result File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/repl/ipython_extension.py:747, in load_ipython_extension(ip=<sage.repl.interpreter.SageTerminalInteractiveShell object>) 741 @run_once 742 def load_ipython_extension(ip): 743 """ 744 Load the extension in IPython. 745 """ 746 # this modifies ip --> 747 SageCustomizations(shell=ip) ip = <sage.repl.interpreter.SageTerminalInteractiveShell object at 0x14cc79550> File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/repl/ipython_extension.py:592, in SageCustomizations.__init__(self=<sage.repl.ipython_extension.SageCustomizations object>, shell=<sage.repl.interpreter.SageTerminalInteractiveShell object>) 578 def __init__(self, shell=None): 579 """ 580 Initialize the Sage plugin. 581 """ 582 self.shell = shell 584 self.auto_magics = SageMagics(shell) 585 self.shell.register_magics(self.auto_magics) 587 self.shell.set_hook('editor', LazyImport("sage.misc.edit_module", "edit_devel")) 589 self.init_inspector() 590 self.init_line_transforms() --> 592 import sage.all # noqa: F401 594 self.shell.verbose_quit = True 596 self.register_interface_magics() 598 if SAGE_IMPORTALL == 'yes': 599 self.init_environment() File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/all.py:86 58 import operator 59 import math 61 # ############### end setup warnings ############################### 63 from sage.all__sagemath_repl import * 64 # this includes .all__sagemath_objects, .all__sagemath_environment 65 66 # ################################################################## 67 68 # This import also sets up the interrupt handler 69 from cysignals.signals import (AlarmInterrupt, SignalError, 70 sig_on_reset as sig_on_count) 72 from time import sleep 73 from functools import reduce # in order to keep reduce in python3 75 import sage.misc.lazy_import 77 from sage.misc.all import * # takes a while 78 from sage.typeset.all import * 80 from sage.misc.sh import sh 82 from sage.libs.all import * 83 from sage.data_structures.all import * 85 from sage.structure.all import * ---> 86 from sage.rings.all import * 87 from sage.arith.all import * 88 from sage.matrix.all import * 90 from sage.symbolic.all import * 91 from sage.modules.all import * 92 from sage.monoids.all import * 93 from sage.algebras.all import * 94 from sage.modular.all import * 95 from sage.sat.all import * 96 from sage.schemes.all import * 97 from sage.graphs.all import * 98 from sage.groups.all import * 99 from sage.arith.power import generic_power as power 100 from sage.databases.all import * 101 from sage.categories.all import * 102 from sage.sets.all import * File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/rings/all.py:55 35 from sage.rings.infinity import infinity, Infinity, InfinityRing, unsigned_infinity, UnsignedInfinityRing 37 # Rational integers. 38 from sage.rings.integer_ring import IntegerRing, ZZ, crt_basis 39 from sage.rings.integer import Integer 41 # Rational numbers 42 from sage.rings.rational_field import RationalField, QQ 43 from sage.rings.rational import Rational 44 Rationals = RationalField 46 # Integers modulo n. 47 from sage.rings.finite_rings.integer_mod_ring import IntegerModRing, Zmod 48 from sage.rings.finite_rings.integer_mod import IntegerMod, Mod, mod 49 Integers = IntegerModRing 51 # Finite fields 52 from sage.rings.finite_rings.all import * 54 # Number field ---> 55 from sage.rings.number_field.all import * 57 # Function field 58 from sage.rings.function_field.all import * 60 # Finite residue fields 61 from sage.rings.finite_rings.residue_field import ResidueField 63 # p-adic field 64 from sage.rings.padics.all import * 65 from sage.rings.padics.padic_printing import _printer_defaults as padic_printing 67 # valuations 68 from sage.rings.valuation.all import * 70 # Semirings 71 from sage.rings.semirings.all import * 73 # Real numbers 74 from sage.rings.real_mpfr import (RealField, RR, 75 create_RealNumber as RealNumber) # this is used by the preparser to wrap real literals -- very important. 76 Reals = RealField 78 from sage.rings.real_double import RealDoubleField, RDF, RealDoubleElement File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/rings/number_field/all.py:2 ----> 2 from sage.rings.number_field.number_field import (NumberField, NumberFieldTower, CyclotomicField, QuadraticField, 3 is_fundamental_discriminant, is_real_place) 4 from sage.rings.number_field.number_field_element import NumberFieldElement 6 from sage.rings.number_field.order import EquationOrder, GaussianIntegers, EisensteinIntegers 8 from sage.misc.lazy_import import lazy_import 10 lazy_import('sage.rings.number_field.totallyreal', 'enumerate_totallyreal_fields_prim') 11 lazy_import('sage.rings.number_field.totallyreal_data', 'hermite_constant') 12 lazy_import('sage.rings.number_field.totallyreal_rel', 13 'enumerate_totallyreal_fields_all') 14 lazy_import('sage.rings.number_field.totallyreal_rel', 15 'enumerate_totallyreal_fields_rel') 17 from sage.rings.number_field.unit_group import UnitGroup 19 del lazy_import File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/rings/number_field/number_field.py:86 1 # sage.doctest: needs sage.libs.linbox 2 r""" 3 Number fields 4 (...) 66 - Michael Daub, Chris Wuthrich (2020-09-01): added Dirichlet characters for abelian fields 67 """ 68 # **************************************************************************** 69 # Copyright (C) 2004-2007 William Stein <wst...@gmail.com> 70 # 2014-2022 Julian RĂ¼th <julian.ru...@fsfe.org> (...) 75 # https://www.gnu.org/licenses/ 76 # **************************************************************************** 77 from __future__ import annotations 78 from itertools import count 79 from collections import Counter 81 from sage.misc.cachefunc import cached_method 82 from sage.misc.superseded import deprecation 84 import sage.libs.ntl.all as ntl 85 import sage.rings.abc ---> 86 import sage.rings.complex_mpfr 87 from sage.rings.polynomial.polynomial_element import Polynomial 88 import sage.rings.real_mpfr 89 import sage.rings.real_mpfi 90 import sage.rings.complex_double 91 import sage.rings.real_double 92 import sage.rings.real_lazy 94 from sage.arith.misc import euler_phi, factor, gcd, next_prime 95 from sage.misc.fast_methods import WithEqualityById 96 from sage.misc.functional import is_odd, lift 97 from sage.misc.lazy_import import lazy_import 98 from sage.misc.misc_c import prod 99 from sage.misc.sage_eval import sage_eval 100 from sage.rings.infinity import Infinity 101 from sage.rings.finite_rings.integer_mod import mod 102 from sage.categories.number_fields import NumberFields File /private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/rings/complex_mpfr.pyx:1, in init sage.rings.complex_mpfr (build/cythonized/sage/rings/complex_mpfr.c:44985)() ----> 1 """ 2 Arbitrary precision floating point complex numbers using GNU MPFR 3 4 AUTHORS: 5 6 - William Stein (2006-01-26): complete rewrite 7 8 - Joel B. Mohler (2006-12-16): naive rewrite into pyrex 9 10 - William Stein(2007-01): rewrite of Mohler's rewrite 11 12 - Vincent Delecroix (2010-01): plot function 13 14 - Niles Johnson (2010-08): :issue:`3893`: ``random_element()`` should pass on 15 ``*args`` and ``**kwds``. 16 ImportError: dlopen(/private/var/tmp/sage-10.6-current/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/rings/complex_double.cpython-312-darwin.so, 2): Symbol not found: _pthread_jit_write_protect_np Referenced from: /Applications/SageMath-10-6.app/Contents/Frameworks/Sage.framework/Versions/10.6/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/rings/../../../../../../../../../lib/libopenblasp-r0.3.28.dylib Expected in: /usr/lib/libSystem.B.dylib in /Applications/SageMath-10-6.app/Contents/Frameworks/Sage.framework/Versions/10.6/local/var/lib/sage/venv-python3.12.5/lib/python3.12/site-packages/sage/rings/../../../../../../../../../lib/libopenblasp-r0.3.28.dylib *************************************************************************** History of session input: *** Last line of input (may not be in above history):