Error building Sage, scipy 1.12

瀏覽次數:47 次
跳到第一則未讀訊息

matteo verni

未讀,
2024年5月2日 凌晨4:51:375月2日
收件者:sage-support
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$

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
error scypi.txt

Jan Groenewald

未讀,
2024年5月2日 清晨6:12:315月2日
收件者:sage-s...@googlegroups.com
Hi

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

Regards,
Jan

--
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/2be4fa37-4d76-41e2-86e9-fee3d6d57f38n%40googlegroups.com.

matteo verni

未讀,
2024年5月2日 上午11:49:485月2日
收件者:sage-support
Hi Jan, thanks for your help.

I double checked: the memory allocated is 3.7 gb. Is that not enough?
By the way, I run it again and gave me the same Error

Dima Pasechnik

未讀,
2024年5月2日 中午12:11:045月2日
收件者:sage-s...@googlegroups.com
just in case, it could in principle also be low (virtual) disk allocated to WSL.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/aff57073-13dd-48d6-ac98-26ded3b7fdccn%40googlegroups.com.
回覆所有人
回覆作者
轉寄
0 則新訊息