Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: failed to install sage 4.7.1 on ubuntu 11.10

  1. #1
    Join Date
    Nov 2004
    Beans
    560
    Distro
    Ubuntu 12.04 Precise Pangolin

    failed to install sage 4.7.1 on ubuntu 11.10

    i downloaded sage from sagemath.org ( sage-4.7.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux ), unpacked it and tried to do the first run as root. this produced the following error message:

    Code:
    $ sudo ./sage/sage 
    ----------------------------------------------------------------------
    | Sage Version 4.7.1, Release Date: 2011-08-11                       |
    | Type notebook() for the GUI, and license() for information.        |
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/opt/sage/local/bin/sage-ipython", line 18, in <module>
        import IPython
      File "/opt/sage/local/lib/python2.6/site-packages/IPython/__init__.py", line 58, in <module>
        __import__(name,glob,loc,[])
      File "/opt/sage/local/lib/python2.6/site-packages/IPython/ipstruct.py", line 22, in <module>
        from IPython.genutils import list2dict2
      File "/opt/sage/local/lib/python2.6/site-packages/IPython/genutils.py", line 59, in <module>
        from IPython.external.path import path
      File "/opt/sage/local/lib/python2.6/site-packages/IPython/external/path.py", line 35, in <module>
        import md5
      File "/opt/sage/local/lib/python/md5.py", line 10, in <module>
        from hashlib import md5
      File "/opt/sage/local/lib/python/hashlib.py", line 136, in <module>
        md5 = __get_builtin_constructor('md5')
      File "/opt/sage/local/lib/python/hashlib.py", line 63, in __get_builtin_constructor
        import _md5
    ImportError: No module named _md5
    any ideas how this could be fixed?

  2. #2
    Join Date
    May 2006
    Beans
    77

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    I can report that an attempt to compile the source code

    sage-4.7.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux.tar.lzma

    on a new installation of the official release of ubuntu 11.10

    gives the same error


    ImportError: No module named _md5
    make: *** [doc-html] Error 1

  3. #3
    Join Date
    Oct 2011
    Beans
    1

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    I had the same issue. After installation of the package libssl0.9.8 it compiled without error.

  4. #4
    Join Date
    Sep 2008
    Location
    Cambridge UK
    Beans
    10
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    Thanks so much for your post - very much appreciated!

  5. #5
    Join Date
    May 2006
    Beans
    77

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    Thanks Vibration - works perfectly!

  6. #6
    Join Date
    Aug 2009
    Beans
    42

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    Aye I had the same error and sure enough installing libssl0.9.8 fixed it.

  7. #7
    Join Date
    Mar 2007
    Beans
    763

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    It's great to see all of the confirmed reports of success. It's always nice when someone takes a little time to confirm a solution.

    I've had several installs be fixed by non-obvious packages like this. Is this considered a bug? if so, whom do we report it to? I'm guessing SAGE, but would they be interested?

  8. #8
    Join Date
    Mar 2008
    Beans
    17

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    libssl0.9.8 that works! finally! Thank you!

  9. #9
    Join Date
    Nov 2004
    Beans
    560
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    late reply. sorry.

    indeed:
    Code:
    $ sudo apt-get install libssl0.9.8
    is all it takes to get sage sage-4.7.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux running on oneiric!

    thanks vibration and everyone who posted a success report!

    marking the thread solved.

  10. #10
    Join Date
    Feb 2007
    Location
    Albuquerque, NM US
    Beans
    314
    Distro
    Ubuntu Development Release

    Talking Re: failed to install sage 4.7.1 on ubuntu 11.10

    Vibration:
    Thank You! I have never had this issue before and I greatly appreciate the solution!
    rt
    cheap hardware....LOTS of it

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •