sagemath / sage-windows

Build tools for the Sagemath Windows installer
350 stars 47 forks source link

sagemath-9.3 #62

Closed aishenri closed 2 years ago

aishenri commented 3 years ago

I used sagemath-9.2 with no problem I installed 9.3 and I can't get latex working in show(LatexExpr(r"\mu")) (it does work as latex %display latex ) but it does work in 9.2 I just reinstalled it.

Any idea about the problem ?

slel commented 3 years ago

This got broken in Sage 9.3 but it is fixed in Sage 9.4 by

So until a SageMath 9.4 installer for Windows is out, you could either stick to the SageMath 9.2 installer or build SageMath 9.4 (or 9.5.beta0) in Cygwin yourself.

aishenri commented 3 years ago

Is it difficult to build it with cygwin ? I build it on ubuntu, but it's easy as we have all libs Where can I find a tutorial about this if any ? thank you it works fine on sage-9.2

embray commented 3 years ago

@aishenri It is a little more difficult.

There are some basic instructions at https://doc.sagemath.org/html/en/installation/source.html#cygwin-prerequisite-installation as well as some more detailed notes at https://trac.sagemath.org/wiki/Cygwin64Port

It also tends to take a lot longer.

aishenri commented 3 years ago

Thank you. I read the instruction and it looks quiete serious... I don't really need it as the version 9.2 is working perfect. I thank you all for this excellent work, I have been so long awaiting. Now I work mainly in windows 11, I tried the wsl2g version but I can't get the jupyter notebook working at each time, so the windows version is more efficient, as I don't need special lib there is not problem.

Best

Henri

Le 07/09/2021 à 12:00, E. M. Bray a écrit :

@aishenri https://github.com/aishenri It is a little more difficult.

There are some basic instructions at https://doc.sagemath.org/html/en/installation/source.html#cygwin-prerequisite-installation https://doc.sagemath.org/html/en/installation/source.html#cygwin-prerequisite-installation as well as some more detailed notes at https://trac.sagemath.org/wiki/Cygwin64Port https://trac.sagemath.org/wiki/Cygwin64Port

It also tends to take a lot longer.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sagemath/sage-windows/issues/62#issuecomment-914169484, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4ZH6VIS3QCF7WQUVDIA4LUAXPEHANCNFSM5DMEIHMQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mango314 commented 2 years ago

I am helping a Windows a user. I get the error message. Did I do something wrong?

Note: SAGE_ROOT=/opt/sagemath-9.3
(sage-sh) x@y:~$ sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.3, Release Date: 2021-05-09                     │
│ Using Python 3.7.10. Type "help()" for help.                       │
└────────────────────────────────────────────────────────────────────┘
------------------------------------------------------------------------
Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.
------------------------------------------------------------------------
/opt/sagemath-9.3/src/bin/sage-python: line 2:   743 Illegal instruction     (core dumped) sage -python "$@"
williamstein commented 2 years ago

Download and install sage-9.2 instead. All released binaries of Sage for versions 9.3 and 9.4 (so since May 2021) have been built in a way that will fail on a large amount of hardware. This is fixed in sage-9.5, which hasn't been released yet.