sagemath 9.0 and sagemath 9.3 on my computer crash
I've been using Sagemath on my computer (windows 10) for a long time, but today I found that sagemath Notebook9.0 or 9.3 all crash. I looked at the following information returned by sagemathshell. It doesn't seem normal. I don't know how to solve it. Even if I reinstalled it, it didn't work.
sagemath 9.2 notebook:
Could not find platform independent libraries <prefix>Could not find platform dependent libraries <exec_prefix>Consider setting $PYTHONHOME to <prefix>[ :<exec_prefix>]
Could not find platform independent libraries <prefix>Could not find platform dependent libraries <exec_prefix>Consider setting $PYTHONHOME to <prefix>[ :<exec_prefix>] Fatal Python error: initfsencoding: Unable to get the locale encodingModuleNotFoundError : No module named 'encodings ' Current thread oxe000000800018040(most recent call first): [main] python3 1975 cygwin_exception: : open_stackdumpfile: Dumping stacktrace to python3.stackdump
[main] python3 1975 cygwin_exception: : open_stackdumpfile: Dumping stacktrace to python3.stackdump
sagemath9.3shell:
*Don't forget to exit when you are done. Beware:
- Do not do anything with other copies of Sage on your system. * Do not use this for installing Sage packages using "sage -i" or for
running "make" at Sage's root directory. These should be done
outside the Sage shell.Bypassing shell configuration files...
Note: SAGE_ROOT=/opt/sagemath-9.3
(sage-sh) asus@LAPTOP-PVHBSM6R:~$*