Hello everybody,
(Sorry for the long code quoting.)
I'm trying to run Sage 5.0 (the binary version) on fedora 16. After launching Sage from terminal I get the following message:
==================================================================
Sage Version 5.0, Release Date: 2012-05-14
Type notebook() for the GUI, and license() for information.
ImportError Traceback (most recent call last)
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/IPython/ipmaker.pyc in force_import(modname, force_reload)
61 reload(sys.modules[modname])
62 else:
---> 63 __import__(modname)
64
65
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-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/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/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/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/all.py in <module>() 76 77 # This must come before Calculus -- it initializes the Pynac library. ---> 78 import sage.symbolic.pynac 79 80 from sage.modules.all import *
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/bin/pynac.pyx in init sage.symbolic.pynac (sage/symbolic/pynac.cpp:20046)() 2108 2109 -> 2110 2111 2112
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/bin/pynac.pyx in sage.symbolic.pynac.init_pynac_I (sage/symbolic/pynac.cpp:18021)() 2004 2005 -> 2006 2007 2008
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/number_field/number_field.pyc in QuadraticField(D, name, check, embedding, latex_name, *args) 729 if latex_name == 'sqrt': 730 latex_name = r'\sqrt{%s}' % D --> 731 return NumberField(f, name, check=False, embedding=embedding, latex_name=latex_name, *args) 732 733 def is_AbsoluteNumberField(x):
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/number_field/number_field.pyc in NumberField(polynomial, name, check, names, cache, embedding, latex_name, assume_disc_small, maximize_at_primes) 451 if polynomial.degree() == 2: 452 K = NumberField_quadratic(polynomial, name, latex_name, check, embedding, --> 453 assume_disc_small=assume_disc_small, maximize_at_primes=maximize_at_primes) 454 else: 455 K = NumberField_absolute(polynomial, name, latex_name, check, embedding,
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/number_field/number_field.pyc in __init__(self, polynomial, name, latex_name, check, embedding, assume_disc_small, maximize_at_primes) 8302 else: 8303 from sage.rings.complex_double import CDF -> 8304 self._standard_embedding = CDF.has_coerce_map_from(self) and CDF(rootD).imag() > 0 8305 8306 def _coerce_map_from_(self, K):
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/complex_double.so in sage.rings.complex_double.ComplexDoubleField_class.__call__ (sage/rings/complex_double.c:3854)() 320 321 --> 322 323 324
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/structure/parent.so in sage.structure.parent.Parent.__call__ (sage/structure/parent.c:7941)() 1056 1057 -> 1058 1059 1060
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/categories/map.so in sage.categories.map.FormalCompositeMap._call_ (sage/categories/map.c:6087)() 1268 1269 -> 1270 1271 1272
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/number_field/number_field_morphisms.so in sage.rings.number_field.number_field_morphisms.NumberFieldEmbedding._call_ (sage/rings/number_field/number_field_morphisms.c:2244)() 75 76 ---> 77 78 79
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_rational_flint.so in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.__call__ (sage/rings/polynomial/polynomial_rational_flint.cpp:7471)() 489 490 --> 491 492 493
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_element.so in sage.rings.polynomial.polynomial_element.Polynomial.__call__ (sage/rings/polynomial/polynomial_element.c:7325)() 631 632 --> 633 634 635
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/structure/element.so in sage.structure.element.Element.__nonzero__ (sage/structure/element.c:6148)() 778 779 --> 780 781 782
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/real_lazy.so in sage.rings.real_lazy.LazyFieldElement.__richcmp__ (sage/rings/real_lazy.c:6750)() 555 556 --> 557 558 559
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/structure/element.so in sage.structure.element.Element._richcmp (sage/structure/element.c:7497)() 874 875 --> 876 877 878
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/structure/element.so in sage.structure.element.Element._richcmp_c_impl (sage/structure/element.c:7774)() 921 922 --> 923 924 925
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/real_lazy.so in sage.rings.real_lazy.LazyFieldElement._cmp_c_impl (sage/rings/real_lazy.c:6670)() 551 552 --> 553 554 555
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/real_lazy.so in sage.rings.real_lazy.LazyFieldElement.approx (sage/rings/real_lazy.c:7214)() 623 624 --> 625 626 627
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/real_lazy.so in sage.rings.real_lazy.LazyAlgebraic.eval (sage/rings/real_lazy.c:13088)() 1392 1393 -> 1394 1395 1396
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_element.so in sage.rings.polynomial.polynomial_element.Polynomial.roots (sage/rings/polynomial/polynomial_element.c:32236)() 5122 5123 -> 5124 5125 5126
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/polynomial/complex_roots.pyc in complex_roots(p, skip_squarefree, retval, min_prec) 348 factors = [(p, 1)] 349 else: --> 350 factors = p.squarefree_decomposition() 351 352 prec = 53
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_element.so in sage.rings.polynomial.polynomial_element.Polynomial.squarefree_decomposition (sage/rings/polynomial/polynomial_element.c:12021)() 1234 1235 -> 1236 1237 1238
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/structure/factorization.pyc in __init__(self, x, unit, cr, sort, simplify) 302 303 try: --> 304 self.__universe = Sequence(t[0] for t in x).universe() 305 except TypeError: 306 self.__universe = None
/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/python2.7/site-packages/sage/structure/sequence.pyc in Sequence(x, universe, check, immutable, cr, cr_str, use_sage_types) 287 from sage.rings.polynomial.multi_polynomial_ring import is_MPolynomialRing 288 from sage.rings.quotient_ring import is_QuotientRing --> 289 from sage.rings.polynomial.pbori import BooleanMonomialMonoid 290 291 if is_MPolynomialRing(universe) or \
ImportError: libboost_unit_test_framework.so.1.47.0: 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.
==================================================================
Running x = 1 yields:
==================================================================
sage: x = 1
NameError Traceback (most recent call last)
/home/uri/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/bin/<ipython console=""> in <module>()
NameError: name 'Integer' is not defined
==================================================================
Any help will be highly appreciated, thanks.