Qengineering / Jetson-Nano-Ubuntu-20-image

Jetson Nano with Ubuntu 20.04 image
https://qengineering.eu/install-ubuntu-20.04-on-jetson-nano.html
BSD 3-Clause "New" or "Revised" License
702 stars 74 forks source link

OpenCV (core dumped) #14

Open msimulation opened 2 years ago

msimulation commented 2 years ago

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

python3

import cv2 Illegal instruction (core dumped)

Any ideas ?

Qengineering commented 2 years ago

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.

msimulation commented 2 years ago

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