As a variant of option 3: install a system-wide ssl after building Sage: I 
believe this just requires rebuild python:

     sage -f python2

At least, this was all I had to do on some older version of Sage (I forget 
which since it has been over a year, maybe even 2, since I did this).

Best,
Travis


On Saturday, February 17, 2018 at 1:05:21 PM UTC-6, Samuel Lelievre wrote:
>
> Sat 2018-02-17 07:38:20 UTC, Ralf Stephan:
> >
> > On Friday, February 16, 2018 at 10:05:02 AM UTC+1, Dima Pasechnik wrote:
> >>
> >> guppy.hpy() finds 149 objects 
> >> dict of sympy.core.assumptions.ManagedProperties
> >> on the heap
> >
> > The solution of the original issue did not involve sympy so I was trying 
> to reproduce this, but when trying to SAGE_ROOT/local/bin/pip install guppy 
> I got
> >
> > pip is configured with locations that require TLS/SSL, however the ssl 
> module in Python is not available.
> > Collecting guppy
> >   Could not fetch URL https://pypi.python.org/simple/guppy/: There was 
> a problem confirming the ssl certificate: Can't connect to HTTPS URL 
> because the SSL module is not available. - skipping
> >   Could not find a version that satisfies the requirement guppy (from 
> versions: )
> > No matching distribution found for guppy
> >
> > How did you install guppy?
>
> Installing extra packages with Sage's pip as in
>
>     sage --pip install guppy
>
> will only succeed if Sage's Python has ssl support.
>
> For this to be the case, you need one of the following:
>
> - have system-wide ssl support before building Sage.
>   In Ubuntu, this would be achieved by running
>
>       sudo apt full-upgrade
>       sudo apt install openssl libssl-dev
>
> - install ssl support before building Sage:
>
>       ./sage -i openssl
>       make
>
> - install ssl support once Sage is already built:
>
>       sage -i openssl
>       sage -f python2
>       sage -i pyopenssl
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to