[sage-support] LattE failed to build

2017-12-18 Thread Sihuang Hu
Hi all! I'm trying to install LattE on sage 8.1 by using sage -i latte_int However, it turns out that: The following package(s) may have failed to build (not necessarily during this run of 'make latte_int'): * package: latte_int-1.7.3 log file: /Applications/sage-8.1/logs/pkgs/latte_int-1.7.3.l

Re: [sage-support] LattE failed to build

2017-12-18 Thread Jeroen Demeyer
Logs please -- 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 post to this group, send email to sage-support@goog

Re: [sage-support] LattE failed to build

2017-12-18 Thread Jeroen Demeyer
There seems to be a problem with your networking setup. Does this help: https://superuser.com/questions/879731/osx-ssh-could-not-resolve-hostname-nodename-nor-servname-provided-or-not-kno -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsub

Re: [sage-support] LattE failed to build

2017-12-18 Thread Vincent Delecroix
Alternative workaround: manually download the following package https://mirrors.tuna.tsinghua.edu.cn/sagemath/spkg/upstream/latte_int/latte_int-1.7.3.tar.gz and put it in the upstream/ repository in your sage install. Once done, you should be able to run $ sage -i latte_int Vincent On 18/1

Re: [sage-support] LattE failed to build

2017-12-18 Thread Sihuang Hu
I used : sudo sage -i latte_int and it works. Thanks. 在 2017年12月18日星期一 UTC+1上午10:24:01,Jeroen Demeyer写道: > > There seems to be a problem with your networking setup. Does this help: > > > https://superuser.com/questions/879731/osx-ssh-could-not-resolve-hostname-nodename-nor-servname-provided-or-no

Re: [sage-support] LattE failed to build

2017-12-18 Thread Vincent Delecroix
On 18/12/2017 09:56, Sihuang Hu wrote: I used : sudo sage -i latte_int and it works. Thanks. Nobody suggested that! This is a very bad idea to use sudo here. The permissions of your Sage installation are now messed up. Though, if it works. Good enough. -- You received this message because y

Re: [sage-support] LattE failed to build

2017-12-18 Thread Henri Girard
Don't worry at a moment or another it will crash (for example when updating)... Don't use sudo. I use ubuntu 18.04 and the last sage-8.1 from sagemath website (binary 64), and I do a link for /usr/bin/sage, then not need of sudo you can do it from your user. Long time before I used sagemath fr

Re: [sage-support] LattE failed to build

2017-12-18 Thread Dima Pasechnik
On Monday, December 18, 2017 at 10:07:05 AM UTC, vdelecroix wrote: > > On 18/12/2017 09:56, Sihuang Hu wrote: > > I used : sudo sage -i latte_int and it works. Thanks. > > Nobody suggested that! This is a very bad idea to use sudo here. The > permissions of your Sage installation are now messe

Re: [sage-support] Memory leak in loops (SageMath 8.1)

2017-12-18 Thread Marco Caselli
Il giorno venerdì 15 dicembre 2017 16:28:29 UTC+1, Dima Pasechnik ha scritto: > > it need not happen, unless you explicitly trigger garbage collection > > import gc > gc.collect() > > see https://docs.python.org/2/library/gc.html for details > Thanks! Now I know why the first function needed s

[sage-support] Re: Evaluation of sum function in callable expression

2017-12-18 Thread Ralf Stephan
Also I think that results other than 20 are wrong for both formulae because the binomial part always amounts to binomial(2-n,3-n), i.e. zero, and you're just adding 5 four times. But I'm not 100 per cent on that. -- You received this message because you are subscribed to the Google Groups "sag

Re: [sage-support] Memory leak in loops (SageMath 8.1)

2017-12-18 Thread Nils Bruin
On Monday, December 18, 2017 at 7:48:34 AM UTC-8, Marco Caselli wrote: > > > So there is a discrepancy between the real amount of memory in use and the > one allocated but, when I run a process, my hardware limits the allocated > one. So, for instance, I can evaluate ex_f(p) just for very small v