OpenCV Import Error after installing L4T update

I believe this issue is related to this one (Jetson Xavier Nx Not Booting). I’ve fixed the boot problem but something is wrong with libcudnn for some reason after this update.

here is the import error:

>>> import cv2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/cv2/", line 96, in <module>
  File "/usr/lib/python3/dist-packages/cv2/", line 86, in bootstrap
    import cv2
ImportError: /usr/local/lib/ symbol cudnnGetConvolutionForwardAlgorithm version not defined in file with link time reference

Anybody know whats going on?

I got this error when i search modules.

I received the same error as the original poster when I tried to import cv2 in python3 on the jetson nano. Note: I compiled opencv v4.3.0 with CUDA using the nvidia script.

I ended up just re-imaging my machine, didn’t bother to re-build OpenCV again