Search code examples
pythonpython-3.xopencvnvidia-jetson-nano

Opencv 4.1 conflicting older version on jetson nano


I installed opencv version 4.1 following this guide. Looked like it completed fine, but when i test with:

import cv2 #this works
print(cv2.__version__) #but not this

I get an attributeerror: module 'cv2' has no attribute 'version'

This is on the jetson nano with jetpack


Solution

  • Fixed by removing opencv and do another build.