On Thursday 22 January 2009, xhao.yap...@gmail.com wrote: > I tried to use "ctc.py" but i recieved the following error. > can any body help me? ... > ---------------------------------------------------------------------- > sage: attach "ctc.py" > --------------------------------------------------------------------------- > ImportError Traceback (most recent call ... > ImportError: cannot import name MPolynomialRing
For future reference: this is not a Sage question but a question about code in my master's thesis. The problem you are facing is that MPolynomialRing is deprecated. Try to replace all occurrences of MPolynomialRing with PolynomialRing. Cheers, Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://www.informatik.uni-bremen.de/~malb _jab: martinralbre...@jabber.ccc.de --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---