ich habe hier ein Skript, das einwandfrei auf einem Uni-Computer läuft. Wenn ich den Code auf meinem Laptop ausführen will, kriege ich jedes Mal ein Attribute Error bei Matrixmultiplikation. HIer ist ein Beispiel, was ich meine:
Code: Alles auswählen
import numpy as np
from numpy import*
a = [[1, 0], [0, 1]]
b = [[4, 1], [2, 2]]
print np.matmul(a, b)
Code: Alles auswählen
AttributeError: 'module' object has no attribute 'matmul'