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

2019-03-01 Thread 'Justin C. Walker' via sage-support



> On Mar 1, 2019, at 10:30 , 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.
>> 
>> 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) that does not work.
>> 
>> Is this a known problem and is there a solution?
> 
> The known problem is that the app version has not been looked at by a
> MacOS developer for years. It might be using something obsolete.
> 
> We are now trying to offer a Google Summer of Code project to work on it.
> 
> If the app version is so bad then we perhaps should just pull it.

I have been unable to get the .app (8.4 or 8.5) working on 10.14, but it works 
just fine on earlier versions of macOS, so I don’t think pulling it is a great 
idea.

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
---
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
---


-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Some failures in building sage

2019-03-01 Thread info . prajjwaljha


Hello,
I am new to Sage and looking forward to contribute to it.
I was building sage locally and after running the make command I 
encountered the following error.
The recipe for target 'doc-html' failed because of some os error which said 
memory cannot be allocated. Even though My PC has 4 GB RAM
and the documentation said even 2 GB ram is sufficient.

I stopped the procedure at that point of time. Because of that, "recipe for 
target 'all' failed " and " recipe for target 'all-start' failed " also 
failed.
But I am still able to Run Sage(basic commands).

After this I used "./sage --testall" command. I received some errors, 
mainly they were related to:
1) Name error 
2) Module missing errors
3) Attributes Error

What shall I do?
Shall I start contributing on the current setup only or rebuild or what?

-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Weak covers of permutations

2019-03-01 Thread David Joyner
On Fri, Mar 1, 2019 at 4:25 PM Jeremy Martin 
wrote:

> The weak_covers method gives incorrect answers:
>
> sage: for w in Permutations(3):
> : w, w.weak_covers()
> :
> ([1, 2, 3], [])
> ([1, 3, 2], [[1, 2, 3]])
> ([2, 1, 3], [[1, 2, 3]])
> ([2, 3, 1], [[3, 2, 1]])
> ([3, 1, 2], [[3, 2, 1]])
> ([3, 2, 1], [[3, 1, 2], [2, 3, 1]])
>
> The fourth and fifth lines of the output are incorrect.  The correct
> values should be
>
> ([2, 3, 1], [[2, 1, 3]])
> ([3, 1, 2], [[1, 3, 2]])
>
>
Aren't these the same as the fourth and fifth lines of the output ?
Maybe I'm misinterpreting the permutation notation.

Similarly:
>
> sage: for w in Permutations(3):
> : w, w.weak_covers(side='left')
> :
> ([1, 2, 3], [])
> ([1, 3, 2], [[1, 2, 3]])
> ([2, 1, 3], [[1, 2, 3]])
> ([2, 3, 1], [[3, 2, 1]])
> ([3, 1, 2], [[3, 2, 1]])
> ([3, 2, 1], [[2, 3, 1], [3, 1, 2]])
>
> The fourth and fifth lines should be
>
> ([2, 3, 1], [[1, 3, 2]])
> ([3, 1, 2], [[2, 1, 3]])
>
>
> --
> 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@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


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

2019-03-01 Thread kcrisman


On Friday, March 1, 2019 at 1:30:44 PM UTC-5, 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. 
> > 
> > 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) that does not work. 
> > 
> > Is this a known problem and is there a solution? 
>
> The known problem is that the app version has not been looked at by a 
> MacOS developer for years. It might be using something obsolete. 
>
> We are now trying to offer a Google Summer of Code project to work on it. 
>
> If the app version is so bad then we perhaps should just pull it. 
>
>
Well, not everyone is on Mojave ... 

-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Weak covers of permutations

2019-03-01 Thread Jeremy Martin
The weak_covers method gives incorrect answers:

sage: for w in Permutations(3):
: w, w.weak_covers()
:
([1, 2, 3], [])
([1, 3, 2], [[1, 2, 3]])
([2, 1, 3], [[1, 2, 3]])
([2, 3, 1], [[3, 2, 1]])
([3, 1, 2], [[3, 2, 1]])
([3, 2, 1], [[3, 1, 2], [2, 3, 1]])

The fourth and fifth lines of the output are incorrect.  The correct values 
should be

([2, 3, 1], [[2, 1, 3]])
([3, 1, 2], [[1, 3, 2]])

Similarly:

sage: for w in Permutations(3):
: w, w.weak_covers(side='left')
:
([1, 2, 3], [])
([1, 3, 2], [[1, 2, 3]])
([2, 1, 3], [[1, 2, 3]])
([2, 3, 1], [[3, 2, 1]])
([3, 1, 2], [[3, 2, 1]])
([3, 2, 1], [[2, 3, 1], [3, 1, 2]])

The fourth and fifth lines should be

([2, 3, 1], [[1, 3, 2]])
([3, 1, 2], [[2, 1, 3]])


-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


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

2019-03-01 Thread Dima Pasechnik
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.
>
> 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) that does not work.
>
> Is this a known problem and is there a solution?

The known problem is that the app version has not been looked at by a
MacOS developer for years. It might be using something obsolete.

We are now trying to offer a Google Summer of Code project to work on it.

If the app version is so bad then we perhaps should just pull it.

>
> I also asked this on Ask.SageMath, but did not get a definitive answer:
>
> https://ask.sagemath.org/question/45506/sage-takes-very-long-to-start-why/
>
> --
> 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@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


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

2019-03-01 Thread Nathan Dunfield

>
> Is there a solution?  I am using Sage on macOS (app version).
>

Your problem is that the Sage app distributed for macOS does not have SSL 
support and so pip cannot securely download the package you requested.  For 
the fix, see here:

https://groups.google.com/d/msg/sage-devel/h974Gv6kOtg/Fq49Qo3vBgAJ

Best,

Nathan

-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


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

2019-03-01 Thread henri.gir...@gmail.com
sage -sh et after pip install librosa --upgrade --user (for your user, 
installing librosa, and upgrade to get the last version)


Be careful to get out after installing software with exit, don't use it 
for something esle it will remain ou anyway...




Le 01/03/2019 à 14:12, Szabolcs Horvát a écrit :

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

> Could not fetch URL https://pypi.org/simple/zmq/: There was a 
problem confirming the ssl certificate: 
HTTPSConnectionPool(host='pypi.org', port=443):


Is there a solution?  I am using Sage on macOS (app version).
--
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@googlegroups.com 
.

Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


--
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[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) that does not work.

Is this a known problem and is there a solution?

I also asked this on Ask.SageMath, but did not get a definitive answer:

https://ask.sagemath.org/question/45506/sage-takes-very-long-to-start-why/

-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[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

> Could not fetch URL https://pypi.org/simple/zmq/: There was a problem 
confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', 
port=443): 

Is there a solution?  I am using Sage on macOS (app version).

-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.