import numpy as np a = np.array((1,1,1)) b = np.array((2,2,2)) dist = np.linalg.norm(a-b)
dist = numpy.linalg.norm(a-b)