Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

AttributeError: 'dict' object has no attribute 'solve'

How I can fix this error '''AttributeError: 'dict' object has no attribute 'solve' It appears after I tried to solve(P):

G = I.groebner_basis()
P = {}
ind = 0
for i in range (n):
    if (GB[i].degree() < num):
        ind = ind+1
        P[ind] = G[i]
solve(P)

AttributeError: 'dict' object has no attribute 'solve'

How I can fix this error '''AttributeError: 'dict' object has no attribute 'solve' It appears after I tried to solve(P):

G = I.groebner_basis()
P = {}
ind = 0
for i in range (n):
    if (GB[i].degree() (G[i].degree() < num):
        ind = ind+1
        P[ind] = G[i]
solve(P)