# Problem running Sage 5.0 on fedora 16

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)

62     else:
---> 63         __import__(modname)
64
65

5     preparser(True)
6
----> 7     import sage.all_cmdline
8     sage.all_cmdline._init_cmdline(globals())
9

12 try:
13
---> 14     from sage.all import *
15     from sage.calculus.predefined import x
16     preparser(on=True)

76
77 # This must come before Calculus -- it initializes the Pynac library.
---> 78 import sage.symbolic.pynac
79
80 from sage.modules.all    import *

2108
2109
-> 2110
2111
2112

2004
2005
-> 2006
2007
2008

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):

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,

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):

320
321
--> 322
323
324

1056
1057
-> 1058
1059
1060

1268
1269
-> 1270
1271
1272

75
76
---> 77
78
79

/home/Downloads/sage-5.0-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib ...
edit retag close merge delete

Sort by » oldest newest most voted

You need to install the boost libraries, see this sage-support thread.

We're following up on this bug (boost is not a required runtime dependency) at this sage-devel post and Trac 12963.

more

Thanks, that was the issue. Everything runs normally now.

( 2012-05-17 17:15:52 +0200 )edit