Unknown installation error in Windows
I installed Sagemath 9.1 from the executable. Almost nothing works: when I execute from desktop icon it just crashes, if I do from icon that says Notebook it crashes after saying
"Use Control-C to stop ...."
If I execute the shell, I can use without problem "sage -python", "sage -gap", etc, but if I execute
sage -c
then it says
Unhandled SIGSEGV: A segmentation fault 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.1/src/bin/sage-python line 2: 1615 Segmentation fault (overflow memory)sage -python "$@"
Do you have any suggestions about how to solve the problem? I reinstalled Sagemath several times, but everytime there is the same problem.
Using the latest release is preferable but in this case, I would try with an earlier version of SageMath.
I installed version 9.0v0.5.2 and now the mssage have changed, but still there is an error
0 [python3] python3 509 C:\Program Files\SageMath 9.0\runtime\opt\sagemath-9.0\local\bin\python3.7.exe: * fatal error - pure virtual method called /opt/sagemath-9.0/src/bin/sage-python line 2: 509 Hangup sage -python "$@"
SageMath started using Python 3 since its version 9.0. I hope you can solve this issue and use the latest versions but if you need to use SageMath urgently, you may want to try earlier versions.
I tried with 8.9 version of Sagemath and the problem persists. So it seems it has nothing to do with Python 3.
Chances are good you have BLODA. In particular some antivirus software is known to interfere with, or even delete files from Sage's installation since it's full of false-positives.
It could also be a CPU incompatibility. Sage for Windows is compiled with the current maximum level of CPU compatibility but there could be some outliers, or if it's a very new CPU it might break MPIR or something.