Jetson-Nano-Ubuntu-20-image icon indicating copy to clipboard operation
Jetson-Nano-Ubuntu-20-image copied to clipboard

OpenCV (core dumped)

Open msimulation opened this issue 3 years ago • 2 comments

Clean setup with latest image, brings an crash with the opencv library under python

python3

import cv2 Illegal instruction (core dumped)

Any ideas ?

msimulation avatar Sep 20 '22 10:09 msimulation

Sorry, that's new for me. Never had any issue with OpenCV before. Must say, I install OpenCV from scratch. Never use sudo apt-get install, nor pip3 install. Please note also, as of OpenCV 4.5.5, you need to add -D PYTHON3_PACKAGES_PATH=/usr/lib/python3/dist-packages. as the default installation folder has changed to site-packages.

Qengineering avatar Sep 20 '22 11:09 Qengineering

This fixed the problem pip3 install --upgrade numpy==1.19.2

msimulation avatar Sep 20 '22 11:09 msimulation