How can I upgrade NumPy?

Because we have two NumPy installations in the system. One is installed by Homebrew and the second is installed by pip. So in order to solve the problem, we need to delete one and use the default NumPy install by OpenCV.

Check the path,

import numpy
print numpy.__path__

and manually delete it using rm.

Leave a Comment