9.7 with python 3.10 seems to work on Ventura 13.3 on a M2. On Wed, May 24, 2023 at 3:16 PM Matthias Goerner <enisc...@gmail.com> wrote:
> Hi! > > I can't get sage to work when installing it with conda on a new MacBook > Pro with M2 chip and Ventura 13.3. > > I tried > conda -n sage create sage=9.X python=3.Y > for (X,Y) = (5,10), (8,10), (8,11). > With Sage 9.5, I get the attached crash report. > With Sage 9.8, I get the following linking error below. > > Cheers, > Matthias > > (sage-py310) matthias@matthiass-air-2 ~ % sage > ┌────────────────────────────────────────────────────────────────────┐ > │ SageMath version 9.8, Release Date: 2023-02-11 │ > │ Using Python 3.10.11. Type "help()" for help. │ > └────────────────────────────────────────────────────────────────────┘ > ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ > ┃ Warning: sage.all is not available; this is a limited REPL. ┃ > ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ > sage: import sage.all > --------------------------------------------------------------------------- > ImportError Traceback (most recent call last) > Cell In[1], line 1 > ----> 1 import sage.all > > File > ~/anaconda3/envs/sage-py310/lib/python3.10/site-packages/sage/all.py:168 > 166 from sage.modules.all import * > 167 from sage.monoids.all import * > --> 168 from sage.algebras.all import * > 169 from sage.modular.all import * > 170 from sage.sat.all import * > > File > ~/anaconda3/envs/sage-py310/lib/python3.10/site-packages/sage/algebras/all.py:21 > 5 > #***************************************************************************** > 6 # Copyright (C) 2005 William Stein <wst...@gmail.com> > 7 # > (...) > 17 # http://www.gnu.org/licenses/ > 18 > #***************************************************************************** > 19 from sage.misc.lazy_import import lazy_import > ---> 21 import sage.algebras.catalog as algebras > 23 from .quatalg.all import * > 24 from .steenrod.all import * > > File > ~/anaconda3/envs/sage-py310/lib/python3.10/site-packages/sage/algebras/catalog.py:84 > 1 r""" > 2 Catalog of Algebras > 3 > (...) > 80 <sage.algebras.yokonuma_hecke_algebra.YokonumaHeckeAlgebra>` > 81 """ > 83 from sage.algebras.free_algebra import FreeAlgebra as Free > ---> 84 from sage.algebras.quatalg.quaternion_algebra import > QuaternionAlgebra as Quaternion > 85 from sage.algebras.steenrod.steenrod_algebra import > SteenrodAlgebra as Steenrod > 86 from > sage.algebras.finite_dimensional_algebras.finite_dimensional_algebra import > FiniteDimensionalAlgebra as FiniteDimensional > > File > ~/anaconda3/envs/sage-py310/lib/python3.10/site-packages/sage/algebras/quatalg/quaternion_algebra.py:68 > 61 from operator import itemgetter > 63 from .quaternion_algebra_element import ( > 64 QuaternionAlgebraElement_abstract, > 65 QuaternionAlgebraElement_generic, > 66 QuaternionAlgebraElement_rational_field, > 67 QuaternionAlgebraElement_number_field) > ---> 68 from . import quaternion_algebra_cython > 70 from sage.modular.modsym.p1list import P1List > 72 from sage.misc.cachefunc import cached_method > > File > ~/anaconda3/envs/sage-py310/lib/python3.10/site-packages/sage/algebras/quatalg/quaternion_algebra_cython.pyx:1, > in init sage.algebras.quatalg.quaternion_algebra_cython > (build/cythonized/sage/algebras/quatalg/quaternion_algebra_cython.cpp:6484)() > ----> 1 # distutils: language = c++ > 2 # distutils: libraries = gmp m NTL_LIBRARIES > 3 # distutils: extra_compile_args = NTL_CFLAGS > > File > ~/anaconda3/envs/sage-py310/lib/python3.10/site-packages/sage/matrix/matrix_integer_dense.pyx:1, > in init sage.matrix.matrix_integer_dense > (build/cythonized/sage/matrix/matrix_integer_dense.cpp:59322)() > ----> 1 # -*- coding: utf-8 -*- > 2 # distutils: extra_compile_args = NTL_CFLAGS M4RI_CFLAGS > 3 # distutils: libraries = iml NTL_LIBRARIES gmp m CBLAS_LIBRARIES > > ImportError: > dlopen(/Users/matthias/anaconda3/envs/sage-py310/lib/python3.10/site-packages/sage/libs/linbox/ > linbox_flint_interface.cpython-310-darwin.so, 0x0002): symbol not found > in flat namespace > '__ZN6FFPACK8CharPolyIN6Givaro8Poly1DomINS1_7ModularIddvEENS1_5DenseEEEEERNT_7ElementERKS7_S9_mNS7_8Domain_t11Element_ptrEmRNSC_8RandIterENS_19FFPACK_CHARPOLY_TAGEm' > -- 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 on the web visit https://groups.google.com/d/msgid/sage-support/CALB88e_PNuw90EAx82nPA21EJakeRFQFEsYvKLBNpVi72OgGjA%40mail.gmail.com.