Ask Your Question

cannot run: from sage.rings.number_field.splitting_field import SplittingData

asked 2014-02-17 03:10:39 +0200

cjsh gravatar image

updated 2014-02-17 05:10:59 +0200

slelievre gravatar image

When I type this line

from sage.rings.number_field.splitting_field import SplittingData

in Sage, I get the following error message:

Traceback (click to the left of this block for traceback)
ImportError: No module named splitting_field

I see in the online documentation that splitting fields of polynomials over number fields is very recent in Sage:

2014-01-02 Jeroen Demeyer
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-17 05:13:43 +0200

slelievre gravatar image


I edited your question so that it is actually a question, not just a quick copy-paste.

It seems that you have noticed in the online documentation that the code for splitting fields over number fields is very recent in Sage.

As a consequence, it will only work if you are using a recent version of Sage, which includes these changes. For instance, in Sage 6.1.1 the command you tried will work, but in Sage 5.12 it will not.

What version of Sage are you using? If you are able to, you should install Sage 6.1.1.

edit flag offensive delete link more


thank you very much! I try it sagecell 6.0,but cannot run yet. maybe 6.1.1 in labs to test?anyway thank Jeroen Demeyer very much!

cjsh gravatar imagecjsh ( 2014-02-17 22:15:50 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2014-02-17 03:10:39 +0200

Seen: 154 times

Last updated: Feb 17 '14