Unable to install OpenCV on TX2

Hi All,
I tried installing OpenCV using
pip3 install opencv-python
and
sudo apt-get install python3-opencv

both of these did not work
when i try compiling using 'python3 -c ‘import cv2’ it throws ModuleNotFoundError

Hi jwasan,

Please check if can follow this https://jkjung-avt.github.io/opencv3-on-tx2/ to install OpenCV on TX2 board directly.

Thanks

that worked.
Thanks.