I am trying to write a code to solve a system of equation at 2 variables. I used Tkinter to do it. I disigned everything, but I am just stocked when it comes to display the answer on the screen. That is the error I am having:
Exception in Tkinter callbackTraceback (most recent call last): File "C:\Users\edwin\AppData\Local\Programs\Python\Python36-32\lib\tkinter\__init__.py", line 1699, in __call__ return self.func(*args) File "C:\Users\edwin\AppData\Local\Programs\Python\Python36-32\ed.py", line 122, in Calculate z = np.linalg.solve ( a, b) File "C:\Users\edwin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\numpy\linalg\linalg.py", line 375, in solve r = gufunc(a, b, signature=signature, extobj=extobj) File "C:\Users\edwin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\numpy\linalg\linalg.py", line 90, in _raise_linalgerror_singular raise LinAlgError("Singular matrix")numpy.linalg.linalg.LinAlgError: Singular matrix Hope to get help. Thank you! Edwin _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor