1 more question: how to "cimport gmpy2" on files like sage/rings/complex_double.pyx ? I think I need install it not for ./sage
воскресенье, 3 ноября 2019 г., 0:49:21 UTC+3 пользователь Dima Pasechnik написал: > > you can install modules into Sage's Python by > > ./sage --pip install <module name> > > You can also run Sage's shell with > > ./sage -sh > > There "python" is Sage's Python, "pip" manages its modules, etc. > > > > > On Sat, 2 Nov 2019, 20:59 Александр Ватузов, <amva...@gmail.com > <javascript:>> wrote: > >> Ok, got it. So how I can add some modules to Sage's python3? for example >> "import six" >> >> суббота, 2 ноября 2019 г., 23:52:44 UTC+3 пользователь Dima Pasechnik >> написал: >>> >>> once you started mixing up modules from the system Python with Sage's >>> Python modules, all bets are off. >>> >>> On Sat, 2 Nov 2019, 20:40 Александр Ватузов, <amva...@gmail.com> wrote: >>> >>>> Hi! Another question. I have an instruction here >>>> https://wiki.sagemath.org/Python3-compatible%20code , how to build >>>> sage with python3.While building sage/arith/functions.pyx I had a problem >>>> with string "from cysignals.signals cimport sig_check" >>>> : sage/arith/functions.pyx:15:0: 'cysignals/signals.pxd' not found >>>> >>>> I know that may be files are here: >>>> https://github.com/sagemath/cysignals/tree/master/src/cysignals. What >>>> I need to do? >>>> >>>> -- >>>> 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-s...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/sage-support/b360ba4d-7de6-4b09-adc7-db3dc0092bd7%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/sage-support/b360ba4d-7de6-4b09-adc7-db3dc0092bd7%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> 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-s...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-support/2e4b8ea2-1c07-42b3-bbea-30985bff572a%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sage-support/2e4b8ea2-1c07-42b3-bbea-30985bff572a%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/b5a34dbe-d933-4bf1-81fc-9c5aca9565cb%40googlegroups.com.