Re: [sage-support] compiling fails with 'boost/preprocessor/cat.hpp' file not found

2020-09-04 Thread Szabolcs Horvát
r err("Error message"); | return 0; | | ; | return 0; | } configure:13719: no suitable system package found for SPKG boost On Fri, 4 Sep 2020 at 13:04, Dima Pasechnik wrote: > On Fri, Sep 4, 2020 at 11:12 AM Szabolcs Horvát > wrote: > > > > > &g

[sage-support] compiling fails with 'boost/preprocessor/cat.hpp' file not found

2020-09-04 Thread Szabolcs Horvát
Hello everyone, I am trying to compile Sage on macOS 10.14. The package brial-1.2.5 fails to compile. The error is: ../../libbrial/include/polybori/common/traits.h:26:10: fatal error: 'boost/preprocessor/cat.hpp' file not found #include ^~~~ 1 error generated. Did an

[sage-support] Re: How to use notebook in sage 9.0?

2020-05-11 Thread Szabolcs Horvát
Thank you for the detailed answer Samuel. I managed to fix it with this. It seems that simply removing the kernel spec from ~/Library/Jupyter/kernels/ also works, and starting Sage does not re-add it. I do not recall how it got added in the first place. Something strange about the ~/Library/Jup

Re: [sage-support] How to use notebook in sage 9.0?

2020-05-07 Thread Szabolcs Horvát
ing up the global jupyter configuration, even if it is running its own jupyter ... > > > On Wednesday, May 6, 2020 at 12:54:16 PM UTC-7, Szabolcs Horvát wrote: >> >> Thanks for the help Dima, but sadly, even this did not work :-( Is there >> a simple way to set up

Re: [sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread Szabolcs Horvát
(hopefully) > > > On Wed, May 6, 2020 at 7:19 PM Szabolcs Horvát wrote: > > > > > > > > On Wednesday, 6 May 2020 20:11:50 UTC+2, Dima Pasechnik wrote: > >> > >> On Wed, May 6, 2020 at 6:58 PM Szabolcs Horvát > wrote: > >> > > >

Re: [sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread Szabolcs Horvát
On Wednesday, 6 May 2020 20:11:50 UTC+2, Dima Pasechnik wrote: > > On Wed, May 6, 2020 at 6:58 PM Szabolcs Horvát > wrote: > > > > I use sage 9.0 and sage 8.9 on macOS. I compiled them myself so I would > gain access to other ILP solvers than GLPK. > > >

[sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread Szabolcs Horvát
I use sage 9.0 and sage 8.9 on macOS. I compiled them myself so I would gain access to other ILP solvers than GLPK. They work fine in command line mode. But if I start Sage 9.0 as sage --notebook, it gives me an interface to create a new notebook, which only has the kernel "Sage 8.9". How can

[sage-support] "SageMath is damaged and can't be opened" on macOS 10.14

2020-01-10 Thread Szabolcs Horvát
I just installed the app version of SageMath 9.0 on macOS 10.14. When I try to launch it, I get "SageMath is damaged and can't be opened." Version 8.9 worked fine on the same macOS version. Do others have this problem too? It would be surprising to me if this were a universal problem, as it wou

[sage-support] Changelog for Sage?

2019-10-17 Thread Szabolcs Horvát
Is there a changelog for Sage 8.8 or 8.9? I can only find 8.7 on the website: http://www.sagemath.org/changelogs/index.html Are there plans to create a more user-friendly changelog? The changelogs I linked list every single change, but it is hard for a normal user (not a developer) to figure ou

[sage-support] MixedIntegerLinearProgram: How to use Gurobi backend on macOS?

2019-09-03 Thread Szabolcs Horvát
Is it possible to use the Gurobi backend to MixedIntegerLinearProgram on macOS? The documentation for getting it working seems to be here and seems to be Linux-specific: http://doc.sagemath.org/html/en/thematic_tutorials/linear_programming.html#using-cplex-or-gurobi-through-sage I tried to fol

[sage-support] Feature to constrain computation time?

2019-09-02 Thread Szabolcs Horvát
Does Sage have a feature to constrain computation time? Suppose the function f() takes a long time to run. I am looking for a way to run it *for at most 5 minutes*. If it finishes by then, I'd like to have the return value from f(). If not, it should communicate that clearly, and the system sho

Re: [sage-support] SageMath for non-Debian/Ubuntu Linux?

2019-09-02 Thread Szabolcs Horvát
, Sep 2, 2019 at 11:47 AM Szabolcs Horvát > wrote: > > > > Are there pre-built binaries for other Linux varieties than > Debian/Ubuntu, or perhaps a "generic" variety that works on all common > Linuxes? > > > > I am looking to install Sage into my hom

[sage-support] SageMath for non-Debian/Ubuntu Linux?

2019-09-02 Thread Szabolcs Horvát
Are there pre-built binaries for other Linux varieties than Debian/Ubuntu, or perhaps a "generic" variety that works on all common Linuxes? I am looking to install Sage into my home directory on an openSUSE system where I do not have root access. Am I stuck with compiling from source? -- You r

Re: [sage-support] Sage is extremely slow to start on macOS Mojave

2019-07-08 Thread Szabolcs Horvát
On Friday, 1 March 2019 19:30:44 UTC+1, Dima Pasechnik wrote: > > On Fri, Mar 1, 2019 at 1:15 PM Szabolcs Horvát > wrote: > > > > I am using the app version of Sage 8.6 on macOS Mojave 10.4.3. It is > extremely slow to start up. It takes multiple minutes. > >

[sage-support] Sage is extremely slow to start on macOS Mojave

2019-03-01 Thread Szabolcs Horvát
I am using the app version of Sage 8.6 on macOS Mojave 10.4.3. It is extremely slow to start up. It takes multiple minutes. Running the sage or Sage executables found within the app bundle is fast—it takes only a few seconds, as it should. It is launching the app the normal way (double click)

[sage-support] How to install Python packages into Sage using pip?

2019-03-01 Thread Szabolcs Horvát
How can I install Python packages into Sage using pip? A google search reveals several posts suggesting to run sage -sh, then use pip install as usual. However, I get: > pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. And finally > Cou

Re: [sage-support] Re: Sage 7.0 on Mac

2016-02-08 Thread Szabolcs Horvát
tly does not work for you with 7.1beta2? > > > > On Monday, February 8, 2016 at 2:20:03 PM UTC, Szabolcs Horvát wrote: >> >> I have two questions about Sage 7.0: >> >> - Will it be available on OS X? Currently there seems to be downloads >> for 6.10 an

[sage-support] Sage 7.0 on Mac

2016-02-08 Thread Szabolcs Horvát
I have two questions about Sage 7.0: - Will it be available on OS X? Currently there seems to be downloads for 6.10 and 7.1beta2 but not 7.0. The 7.1beta2 fails on startup. - Is there a list of major changes (other than the list of tickets closed)? Does the bump in the major version from 6

Re: [sage-support] Re: When will Sage be available for OS X 10.11 El Capitan?

2015-10-28 Thread Szabolcs Horvát
> > On Wednesday, October 28, 2015 at 12:34:06 PM UTC+1, Szabolcs Horvát wrote: >> >> Dear All, >> >> When will Sage be available for OS X 10.11 El Capitan? >> >> I see that ticket 19370 has been closed for nearly two weeks now, but >> there is not dow

[sage-support] When will Sage be available for OS X 10.11 El Capitan?

2015-10-28 Thread Szabolcs Horvát
Dear All, When will Sage be available for OS X 10.11 El Capitan? I see that ticket 19370 has been closed for nearly two weeks now, but there is not download for 10.11. I do not want to disable SIP, nor do I want to build Sage from source. I would like to know if we can expect a 10.11-compatib

Re: [sage-support] find Nth prime with Sage

2014-04-07 Thread Szabolcs Horvát
Than you for the responses William and Andrew. William's idea does sound reasonable, I assumed Mathematica does something similar. The reason I needed this functionality was actually to verify something I computed using Mathematica (for my peace of mind). For now I will look at the primecount

[sage-support] Re: effective ways to use the documentation (get help)

2014-04-04 Thread Szabolcs Horvát
On Thursday, 3 April 2014 13:48:39 UTC-4, John H Palmieri wrote: > > > > On Wednesday, April 2, 2014 1:41:06 PM UTC-7, Szabolcs Horvát wrote: >> >> Hello, >> >> I'm new to Sage and I am still struggling with finding what I need in the >> do

[sage-support] Why doesn't Sage use StackExchange?

2014-04-03 Thread Szabolcs Horvát
Hello, Why doesn't Sage have a reliable and easy to use StackExchange site instead of ask.sagemath.org? Being new to Sage, I looked at ask.sagemath.org twice. The first time I did it did not work at all (the note said it was because of a troll, if I recall it right?). Today I registered there

[sage-support] find Nth prime with Sage

2014-04-03 Thread Szabolcs Horvát
Hello, I'm quite new to Sage. Does it have any functionality that will easily compute the Nth prime and it's fast enough that it will work for N of the order 10^9 or 10^10 reasonable quickly (say, under 10 seconds)? pari.nth_prime(10) takes a very long time. Are there alternatives? S

[sage-support] effective ways to use the documentation (get help)

2014-04-03 Thread Szabolcs Horvát
Hello, I'm new to Sage and I am still struggling with finding what I need in the documentation. I'm writing because maybe I'm not approaching this the right way, and I'm looking for advice. I am using the notebook interface. I can evaluate "something?" in the notebook to get some help, but

[sage-support] How to find the Nth prime quickly?

2014-04-03 Thread Szabolcs Horvát
Hello, I asked three question yesterday, but none of them showed up, I'm not sure why. ask.sagemath.com also doesn't allow posts from new users. Here's a brief version of one of the questions again: Does Sage contain functionality to find the Nth prime quickly? So far I found Primes().unran