On Fri, Apr 29, 2011 at 11:51 AM, Alex Lara <[email protected]> wrote:
> Dear all,
>
> Sage failed to install in ubuntu 11.04. I get the following error:
>
> ImportError: No module named crypt
> Error importing ipy_profile_sage - perhaps you should run %upgrade?
> WARNING: Loading of ipy_profile_sage failed.
>
>
> Any idea of how to fix this?
A random shot in the dark is that you could try:
(1) installing the libssl-devel Ubuntu package with "sudo apt-get
install libssl-devel".
(2) rebuild the Python spkg in Sage:
cd SAGE_ROOT
./sage -f python
I have *not* tested this; it's just the first thing I would try, since
the error "no module named crypt" is a symptom of not having the crypt
module compiled into Python, which might happen if the libssl-devel
Ubuntu package isn't installed when you build Sage.
-- William
P.S. For a short while we used to include openssl with Sage, which
avoided such problems, but it turned out at the time that the openssl
license is GPL-incompatible, so it's somewhat unclear that we can
legally include it in Sage.
>
> Thanks in advance:
>
>
> Alex Lara.
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org