Hi Double check your allocated RAM. (It looks like an out-of-memory error.)

Regards, Jan On Thu, 2 May 2024 at 10:51, matteo verni <mttve...@gmail.com> wrote: > Error message while building Sage. Below are the last few lines the > terminal produced. Attached you have a muchbigger chunk of the log. Thank > you in advance :) > > (followed the README on Git, Ubuntu 22.04 running on WSL2, ram allocated 4 > gb i believe. ) > > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > [scipy-1.12.0] [spkg-install] × Encountered error while generating package > metadata. > [scipy-1.12.0] [spkg-install] ╰─> See above for output. > [scipy-1.12.0] [spkg-install] > [scipy-1.12.0] [spkg-install] note: This is an issue with the package > mentioned above, not pip. > [scipy-1.12.0] [spkg-install] hint: See above for details. > [scipy-1.12.0] [spkg-install] > ************************************************************************************************************************************* > [scipy-1.12.0] [spkg-install] Error building a wheel for scipy-1.12.0 > [scipy-1.12.0] [spkg-install] > ************************************************************************************************************************************* > [scipy-1.12.0] > ************************************************************************ > [scipy-1.12.0] Error installing package scipy-1.12.0 > [scipy-1.12.0] > ************************************************************************ > [scipy-1.12.0] Please email sage-devel ( > http://groups.google.com/group/sage-devel) > [scipy-1.12.0] explaining the problem and including the log files > [scipy-1.12.0] /home/teov/sage/sage/logs/pkgs/scipy-1.12.0.log > [scipy-1.12.0] and > [scipy-1.12.0] /home/teov/sage/sage/config.log > [scipy-1.12.0] Describe your computer, operating system, etc. > [scipy-1.12.0] If you want to try to fix the problem yourself, *don't* > just cd to > [scipy-1.12.0] > /home/teov/sage/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/scipy-1.12.0 > and type 'make' or whatever is appropriate. > [scipy-1.12.0] Instead, the following commands setup all environment > variables > [scipy-1.12.0] correctly and load a subshell for you to debug the error: > [scipy-1.12.0] (cd > '/home/teov/sage/sage/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/scipy-1.12.0' > && '/home/teov/sage/sage/sage' --buildsh) > [scipy-1.12.0] When you are done debugging, you can type "exit" to leave > the subshell. > [scipy-1.12.0] > ************************************************************************ > make[4]: *** [Makefile:3432: scipy-SAGE_VENV-no-deps] Error 1 > make[3]: *** [Makefile:3432: > /home/teov/sage/sage/local/var/lib/sage/venv-python3.10/var/lib/sage/installed/scipy-1.12.0] > Error 2 > make[2]: *** [Makefile:3057: all-start] Error 2 > make[2]: Leaving directory '/home/teov/sage/sage/build/make' > *************************************************************** > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'make all-start'): > > * package: scipy-1.12.0 > last build time: May 2 10:17 > log file: /home/teov/sage/sage/logs/pkgs/scipy-1.12.0.log > > It is safe to delete any log files and build directories, but they > contain information that is helpful for debugging build problems. > WARNING: If you now run 'make' again, the build directory of the > same version of the package will, by default, be deleted. Set the > environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. > > make[1]: *** [Makefile:40: all-start] Error 1 > make[1]: Leaving directory '/home/teov/sage/sage' > make: *** [Makefile:13: all] Error 2 > teov@LAPTOP-1FFFP9R0:~/sage/sage$ > > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > -- > 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/2be4fa37-4d76-41e2-86e9-fee3d6d57f38n%40googlegroups.com > <https://groups.google.com/d/msgid/sage-support/2be4fa37-4d76-41e2-86e9-fee3d6d57f38n%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/CAAg%3Dp_1J9dO9pBb%2B_u%2BWkY9NssJArexuQuY6FhidCJa83MJQTg%40mail.gmail.com.