Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5998675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:26:24+00:00 2026-05-23T00:26:24+00:00

I installed the sagemath software on an ubuntu machine and nothing executes. I type

  • 0

I installed the sagemath software on an ubuntu machine and nothing executes. I type

sage: notebook()
NameError: name 'notebook' is not defined


sage: 2+3
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/bin/<ipython console> in <module>()

NameError: name 'Integer' is not defined

On opening sage I get the following message

----------------------------------------------------------------------
| Sage Version 4.7, Release Date: 2011-05-23                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/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 

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/bin/ipy_profile_sage.py in <module>()
      5     preparser(True)
      6 
----> 7     import sage.all_cmdline
      8     sage.all_cmdline._init_cmdline(globals())
      9 

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/all_cmdline.py in <module>()
     12 try:
     13 
---> 14     from sage.all import *
     15     from sage.calculus.predefined import x
     16     preparser(on=True)

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/all.py in <module>()
     89 from sage.algebras.all   import *
     90 from sage.modular.all    import *
---> 91 from sage.schemes.all    import *
     92 from sage.graphs.all     import *
     93 from sage.groups.all     import *

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/all.py in <module>()
     23 from jacobians.all import *
     24 
---> 25 from hyperelliptic_curves.all import *
     26 
     27 from plane_curves.all import *

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/hyperelliptic_curves/all.py in <module>()
----> 1 
      2 
      3 from constructor import HyperellipticCurve
      4 from hyperelliptic_generic import is_HyperellipticCurve
      5 from kummer_surface import KummerSurface
      6 from invariants import (igusa_clebsch_invariants,
      7                         absolute_igusa_invariants_kohel,

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/hyperelliptic_curves/constructor.py in <module>()
      9 #*****************************************************************************

     10 
---> 11 from sage.schemes.generic.all import ProjectiveSpace
     12 
     13 from hyperelliptic_generic import HyperellipticCurve_generic

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/generic/all.py in <module>()
      2 
      3 from spec             import Spec, is_Spec
----> 4 from affine_space     import AffineSpace, is_AffineSpace
      5 from algebraic_scheme import is_AlgebraicScheme
      6 from ambient_space    import is_AmbientSpace

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/generic/affine_space.pyc in <module>()
     22 from sage.misc.all import latex
     23 
---> 24 import algebraic_scheme
     25 
     26 import ambient_space

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/generic/algebraic_scheme.pyc in <module>()
    141 import affine_space
    142 import projective_space
--> 143 import toric_variety
    144 import morphism
    145 import scheme

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/schemes/generic/toric_variety.py in <module>()
    234 import sys
    235 
--> 236 from sage.geometry.cone import Cone, is_Cone
    237 from sage.geometry.fan import Fan
    238 from sage.matrix.all import matrix

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/geometry/cone.py in <module>()
    173 
    174 from sage.combinat.posets.posets import FinitePoset
--> 175 from sage.geometry.lattice_polytope import LatticePolytope
    176 from sage.geometry.polyhedra import Polyhedron, Hasse_diagram_from_incidences
    177 from sage.geometry.toric_lattice import ToricLattice, is_ToricLattice

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/geometry/lattice_polytope.py in <module>()
    110 from sage.plot.plot import hue
    111 from sage.plot.plot3d.index_face_set import IndexFaceSet
--> 112 from sage.plot.plot3d.all import line3d, point3d
    113 from sage.plot.plot3d.shapes2 import text3d
    114 from sage.plot.plot3d.tachyon import Tachyon

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/plot/plot3d/all.py in <module>()
      3 from parametric_plot3d import parametric_plot3d
      4 from plot_field3d      import plot_vector_field3d
----> 5 from implicit_plot3d   import implicit_plot3d
      6 from list_plot3d       import list_plot3d
      7 from revolution_plot3d import revolution_plot3d

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/plot/plot3d/implicit_plot3d.py in <module>()
      3 """
      4 
----> 5 from implicit_surface import ImplicitSurface
      6 
      7 def implicit_plot3d(f, xrange, yrange, zrange, **kwds):

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/bin/numpy.pxd in init sage.plot.plot3d.implicit_surface (sage/plot/plot3d/implicit_surface.c:29094)()

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/numpy/__init__.pyc in <module>()
    134         return loader(*packages, **options)
    135 
--> 136     import add_newdocs
    137     __all__ = ['add_newdocs']
    138 

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/numpy/add_newdocs.py in <module>()
      7 #       core/fromnumeric.py, core/defmatrix.py up-to-date.

      8 
----> 9 from numpy.lib import add_newdoc
     10 
     11 ###############################################################################


/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/numpy/lib/__init__.py in <module>()
     11 
     12 import scimath as emath
---> 13 from polynomial import *
     14 #import convertcode

     15 from utils import *

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/numpy/lib/polynomial.py in <module>()
     15 from numpy.lib.function_base import trim_zeros, sort_complex
     16 from numpy.lib.type_check import iscomplex, real, imag
---> 17 from numpy.linalg import eigvals, lstsq
     18 
     19 class RankWarning(UserWarning):

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/numpy/linalg/__init__.py in <module>()
     46 from info import __doc__
     47 
---> 48 from linalg import *
     49 
     50 from numpy.testing import Tester

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/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.

sage: notebook()
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/bin/<ipython console> in <module>()

NameError: name 'notebook' is not defined
sage: notebook()
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/home/myusername/Downloads/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/bin/<ipython console> in <module>()
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T00:26:24+00:00Added an answer on May 23, 2026 at 12:26 am

    I think the line

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

    is the source of the problem. That error message seemed familiar, and I thought I’d seen it relatively recently: turns out that I was right, it was on a sage-support thread.. Try installing gfortran.

    On Ubuntu:

    sudo apt-get install libgfortran3
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed SVN on a Ubuntu machine and I can't get my head around
I installed mysql on ubuntu server and did not specify password. When I do
I installed qt libraries from ubuntu software centr and and installed qt creator from
I installed Virtualbox+Windows7+IE9 on Ubuntu Oneiric+Apache. In Ubuntu I was hosting a web site
Installed Ubuntu 11.10, removed Ruby1.8.7 completely, and then installed Ruby1.9.2-p290 from source, followed by
I installed squid in ubuntu linux.How to restrict users to uploading files using e-mail
installed ejabberd using synaptic package manager on Ubuntu 10.04 without any error. sudo dpkg-reconfigure
Installed Mono 2.4 on Ubuntu using the instructions here: http://www.nabble.com/forum/PrintPost.jtp?post=22841086 When I run xsp
I installed a 1.4 Orchard on my local machine. Create a tenant site already.
I installed joomla 2.5 genuine installation, but JQuery not working.How can i get JQuery

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.