The error disappeared with sage -pip install --upgrade https://github.com/3-manifolds/SnapPy/archive/master.zip adapting the suggestion in https://github.com/3-manifolds/SnapPy/issues/22
El miércoles, 7 de abril de 2021 a las 23:43:58 UTC+2, enriqu...@gmail.com escribió: > Thanks! > > El miércoles, 7 de abril de 2021 a las 21:48:37 UTC+2, vdelecroix escribió: > >> More precisely >> >> https://trac.sagemath.org/ticket/30857#comment:9 >> >> Le 07/04/2021 à 21:45, Vincent Delecroix a écrit : >> > Isn't it >> > >> > https://trac.sagemath.org/ticket/30857 >> > >> > Le 07/04/2021 à 21:06, enriqu...@gmail.com a écrit : >> >> Is there anyone using snappy inside sage? Uninstalling and stalling >> >> produce >> >> the same errors. >> >> >> >> El miércoles, 17 de marzo de 2021 a las 16:02:06 UTC+1, >> >> enriqu...@gmail.com >> >> escribió: >> >> >> >>> I did it a few minutes ago. The orders "sage -i snappy", "sage -f >> >>> snappy", >> >>> "sage -pip uninstall snappy"+"sage -pip uninstall snappy" made no >> change >> >>> >> >>> El miércoles, 17 de marzo de 2021 a las 10:56:21 UTC+1, >> dim...@gmail.com >> >>> escribió: >> >>> >> >>>> did you try reinstalling it? >> >>>> >> >>>> >> >>>> >> >>>> On Wed, 17 Mar 2021, 08:33 enriqu...@gmail.com, <enriqu...@gmail.com> >> >> >>>> wrote: >> >>>> >> >>>>> I was able to install in snappy in Sage 9.3beta8. I did not test it >> >>>>> when >> >>>>> installed and now in beta9 I am unable to test it. >> >>>>> For import snappy I get a couple of DeprecationWarnings: >> >>>>> >> >>>>> local/lib/python3.9/site-packages/snappy/snap/shapes.py:4: >> >>>>> DeprecationWarning: the complex_field module is deprecated, please >> use >> >>>>> sage.rings.complex_mpf >> >>>>> >> >>>>> >> local/lib/python3.9/site-packages/snappy/verify/verifyCanonical.py:6: >> >>>>> DeprecationWarning: the complex_number module is deprecated, please >> >>>>> use >> >>>>> sage.rings.complex_mpfr >> >>>>> >> >>>>> and the following error: >> >>>>> from .squareExtensions import >> >>>>> find_shapes_as_complex_sqrt_lin_combinations >> >>>>> >> --------------------------------------------------------------------------- >> >>>>> >> >>>>> >> >>>>> TypeError Traceback (most recent >> call >> >>>>> last) >> >>>>> <ipython-input-2-710a7f18823c> in <module> >> >>>>> ----> 1 import snappy >> >>>>> >> >>>>> ~/sage/local/lib/python3.9/site-packages/snappy/__init__.py in >> >>>>> <module> >> >>>>> 5 #logging.debug('This message should go to the log file') >> >>>>> 6 import sys >> >>>>> ----> 7 from .SnapPy import (AbelianGroup, HolonomyGroup, >> >>>>> FundamentalGroup, >> >>>>> 8 DirichletDomain, CuspNeighborhood, >> >>>>> SymmetryGroup, >> >>>>> 9 AlternatingKnotExteriors, >> >>>>> NonalternatingKnotExteriors, >> >>>>> >> >>>>> cython/core/fundamental_group.pyx in init SnapPy() >> >>>>> >> >>>>> cython/core/fundamental_group.pyx in >> >>>>> SnapPy.HolonomyGroup.use_field_conversion() >> >>>>> >> >>>>> TypeError: can't set attributes of built-in/extension type 'type' >> >>>>> >> >>>>> -- >> >>>>> You received this message because you are subscribed to the Google >> >>>>> Groups "sage-devel" group. >> >>>>> To unsubscribe from this group and stop receiving emails from it, >> send >> >>>>> an email to sage-devel+...@googlegroups.com. >> >>>>> To view this discussion on the web visit >> >>>>> >> https://groups.google.com/d/msgid/sage-devel/b92b7369-c9f4-47e1-b13f-1530ad0323acn%40googlegroups.com >> >> >>>>> >> >>>>> < >> https://groups.google.com/d/msgid/sage-devel/b92b7369-c9f4-47e1-b13f-1530ad0323acn%40googlegroups.com?utm_medium=email&utm_source=footer> >> >> >> >>>>> >> >>>>> . >> >>>>> >> >>>> >> >> >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/e8c3f342-d433-4ce3-b18b-22047ce2e953n%40googlegroups.com.