1 | initial version |
I am not sure what you are trying to do. But there is a groebner basis module in sympy.
http://sympy.googlecode.com/svn/api/sympy.polynomials.groebner_.html
Have you tried it. I used it in sympy and seems to give good results.