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 foundI 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-support...@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.
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 unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/2e4b8ea2-1c07-42b3-bbea-30985bff572a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/2e4b8ea2-1c07-42b3-bbea-30985bff572a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/2e4b8ea2-1c07-42b3-bbea-30985bff572a%40googlegroups.com.
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/qpnel6%24itu%241%40blaine.gmane.org.
I am surprised we still even build python2 by default. Isn't it an optional package?
On Sun, 3 Nov 2019, 20:52 Simon King, <simo...@uni-jena.de> wrote:
Hi Dima,
On 2019-11-02, Dima Pasechnik <dim...@gmail.com> wrote:
> There "python" is Sage's Python, "pip" manages its modules, etc.
IIRC, that's not true for Sage's py-3 version. Namely, if one opens a
sage-with-py-3 shell, then "python" still means "python2". So, if you
really want Sage-with-py-3's Python installation, you should either do
"sage -python" or (in a Sage shell) "python3". And I think the same
holds for pip.
Best regards,
Simon
--
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.
"./sage -pip install cython" installs cython for python3: Requirement already satisfied: cython in ./local/lib/python3.7/site-packages (0.29.14); and"Requirement already satisfied: gmpy2 in ./local/lib/python3.7/site-packages (2.0.8)"So I think that, may be, cython need gmpy2 installed in other way? I still have na error:
[sagelib-8.9] cimport gmpy2[sagelib-8.9] ^[sagelib-8.9] ------------------------------------------------------------[sagelib-8.9][sagelib-8.9] sage/rings/complex_double.pyx:110:8: 'gmpy2.pxd' not found
воскресенье, 3 ноября 2019 г., 23:52:01 UTC+3 пользователь Simon King написал:Hi Dima,
On 2019-11-02, Dima Pasechnik <dim...@gmail.com> wrote:
> There "python" is Sage's Python, "pip" manages its modules, etc.
IIRC, that's not true for Sage's py-3 version. Namely, if one opens a
sage-with-py-3 shell, then "python" still means "python2". So, if you
really want Sage-with-py-3's Python installation, you should either do
"sage -python" or (in a Sage shell) "python3". And I think the same
holds for pip.
Best regards,
Simon
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/8a5eb4d3-d9a4-4630-8d74-f3e5c3e0f276%40googlegroups.com.
понедельник, 4 ноября 2019 г., 12:35:17 UTC+3 пользователь Dima Pasechnik написал:
On Mon, 4 Nov 2019, 09:27 Александр Ватузов, <amva...@gmail.com> wrote:"./sage -pip install cython" installs cython for python3: Requirement already satisfied: cython in ./local/lib/python3.7/site-packages (0.29.14); and"Requirement already satisfied: gmpy2 in ./local/lib/python3.7/site-packages (2.0.8)"So I think that, may be, cython need gmpy2 installed in other way? I still have na error:try./sage -f gmpy2
--[sagelib-8.9] cimport gmpy2[sagelib-8.9] ^[sagelib-8.9] ------------------------------------------------------------[sagelib-8.9][sagelib-8.9] sage/rings/complex_double.pyx:110:8: 'gmpy2.pxd' not found
воскресенье, 3 ноября 2019 г., 23:52:01 UTC+3 пользователь Simon King написал:Hi Dima,
On 2019-11-02, Dima Pasechnik <dim...@gmail.com> wrote:
> There "python" is Sage's Python, "pip" manages its modules, etc.
IIRC, that's not true for Sage's py-3 version. Namely, if one opens a
sage-with-py-3 shell, then "python" still means "python2". So, if you
really want Sage-with-py-3's Python installation, you should either do
"sage -python" or (in a Sage shell) "python3". And I think the same
holds for pip.
Best regards,
Simon
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/8a5eb4d3-d9a4-4630-8d74-f3e5c3e0f276%40googlegroups.com.
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/14f34695-6908-466f-ba2e-709230fc8aed%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/14f34695-6908-466f-ba2e-709230fc8aed%40googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/6b1f50b0-0845-4540-b501-7788491b2079%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/c934a2a9-52d0-49a5-bc31-67ad6832c22d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/c934a2a9-52d0-49a5-bc31-67ad6832c22d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/c934a2a9-52d0-49a5-bc31-67ad6832c22d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/8413e3e9-d2bf-4ac5-bbb2-be8485c45ba1%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/8413e3e9-d2bf-4ac5-bbb2-be8485c45ba1%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/8413e3e9-d2bf-4ac5-bbb2-be8485c45ba1%40googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/708b82f1-9092-4adf-92c6-f4b8710b8c56%40googlegroups.com.
Incidentally this brings up the question on how one should deal with
outdated (as they had to by Python2-compatible)
Sage's iPython and Jupyter.
Perhaps that's a useful/encouraging data point??
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/1708a5b7-93d7-4937-8dcd-6762aaf89f54%40googlegroups.com.
Is Sage Jupyter kernel pipe-based?(Jupyter uses zeromq, which can do inproc communication, and as far as I know some kernels do this)