How to normalize a vector?

Normalization of vectors seems like a crucial thing to do. I’m working on an assignment in which I have to create a code that normalizes a vector. The code I created gave me an error. Can someone help me with it?

import numpy as np
mat = np.random.rand(5,5)
normalized_mat = np..norm(mat)

AttributeError: module 'numpy' has no attribute 'norm'

Is there any alternative method present for it?