Since I am starting a clean install of the new Ubuntu, I proceeded to reinstall Sage. After the usual steps, and running `sage`

, I got an error message, which I had not seen before, starting with:

---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/usr/local/share/sage-4.7.1/local/lib/python2.6/site-packages/IPython/ipmaker.pyc in force_import(modname)
64 reload(sys.modules[modname])
65 else:
---> 66 __import__(modname)
67
68

and ending with:

/usr/local/share/sage-4.7.1/local/lib/python2.6/site-packages/numpy/linalg/linalg.py in <module>()
21 isfinite, size, finfo, absolute, log, exp
22 from numpy.lib import triu
---> 23 from numpy.linalg import lapack_lite
24 from numpy.matrixlib.defmatrix import matrix_power
25 from numpy.compat import asbytes
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

After some trial and error, I found good keywords to ask google:

sage importerror ubuntu 11.10 libgfortran.so.3

The first result: apt get – How to install gfortran?, from the AskUbuntu site, had the answer: install the package `libgfortran3`

.

### Like this:

Like Loading...

*Related*

Any suggestion on the error —

ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory

in sage while plotting a graph…i have checked that i have libgfortran3 installed…

Not really, as I mentioned in the post I could start Sage succesfully after installing libgfortran…