On Mon, Jul 20, 2009 at 4:04 PM, mjs<m.j.saltz...@gmail.com> wrote:
>
> I installed the Fedora 10 release of Sage 4.1 on a Fedora 11 machine.
> When I invoke sage, it terminates with the following errors:
>
> $ sage
> ----------------------------------------------------------------------
> | Sage Version 4.1, Release Date: 2009-07-09                         |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/usr/local/sage/local/bin/sage-ipython", line 18, in <module>
>    import IPython
>  File "/usr/local/sage/local/lib/python2.6/site-packages/IPython/
> __init__.py", line 58, in <module>
>    __import__(name,glob,loc,[])
>  File "/usr/local/sage/local/lib/python2.6/site-packages/IPython/
> ipstruct.py", line 22, in <module>
>    from IPython.genutils import list2dict2
>  File "/usr/local/sage/local/lib/python2.6/site-packages/IPython/
> genutils.py", line 59, in <module>
>    from IPython.external.path import path
>  File "/usr/local/sage/local/lib/python2.6/site-packages/IPython/
> external/path.py", line 35, in <module>
>    import md5
>  File "/usr/local/sage/local/lib/python/md5.py", line 10, in <module>
>    from hashlib import md5
>  File "/usr/local/sage/local/lib/python/hashlib.py", line 136, in
> <module>
>    md5 = __get_builtin_constructor('md5')
>  File "/usr/local/sage/local/lib/python/hashlib.py", line 63, in
> __get_builtin_constructor
>    import _md5
> ImportError: No module named _md5
>
> The machine's deault python has the file /usr/lib64/python2.6/lib-
> dynload/_md5module.so, but there is no such file in /usr/local/
> sage-4.1-linux-Fedora_release_10_Cambridge-x86_64-Linux/local/lib/
> python2.6/lib-dynload/.
>
> I had the same problem with 4.0.2 on F11, but not 3.0.5 (I think that
> was the version) on F10.
>
> Is this my problem or a sage problem?
>

In one way, it is your problem since you're installing the F10 binary
on an F11 install.  It shouldn't work since they are different OS's.
You should consider building Sage from source (which takes 2-3 hours,
but is otherwise easy):

 1. Download sage-4.1.tar from http://sagemath.org/src/
 2. Extract
         tar xvf sage-4.1.tar
 3. Build it:
         cd sage-4.1; make

Obviously, the best solution will be for me to install Fedora 11 32
and 64-bit into my build farm, and that's on the todo list.

William

 -- William


 -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to