I followed the Jetson Hacks tutorial to build OpenCV on my Jetson Nano. I successfully built OpenCV 4.8.0 with CUDA support, but it was built for Python 2.7, not for Python 3.6. How can I fix this? Perhaps by configuring the path?
My system information:
Jetson Nano 4GB
CUDA 10.2
cuDNN 8.2
Version: 4.6.4-b39
Kernel version: 4.9.337-tegra-32.7.4
Hi,
We have a script for OpenCV with Python 3.6.
Please give it a check:
https://github.com/AastaNV/JEP/blob/master/script/install_opencv4.5.0_Jetson.sh#L42
cmake -D WITH_CUDA=ON -D ... -D BUILD_opencv_python3=ON ...
Thanks.
1 Like
I built OpenCV 4.8.0. Is it necessary to format my SD card again to try to build through your script?
Hi,
No, but you can remove the 4.8 to avoid ambiguity.
Thanks.
1 Like
Thank you, it is working for me. I am unable to install version 4.8.0, but I was able to successfully build version 4.6.0
system
Closed
November 21, 2023, 11:47am
8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.