I'm running the depthai install and demo in a python virtualenv on a jetson xavier nx which yields a core dump. My other python virtualenv on the jetson that runs tensorflow runs with no core dump.
Any clue on resolving the core dump would be much appreciated.
Background
The jetson xavier nx is running Ubuntu 18.04.
I commented out the open3d==0.10.0.0 line in the requirement file to get the install_requirments.py to run successfully.
I installed opencv 4.5.1 using a script from https://github.com/mdegans/nano_build_opencv.
I followed the depthai install dependencies instructions before running the install_requirments.py.
Terminal Output showing depthai successful install and running demo (with core dump), and then import of depthai (loads successfully), cv2, numpy (both generate a core dump).
(depthai) user@jetson-desktop:/dev/depthai$ python3 install_requirements.py
Requirement already satisfied: pip in ./depthai/lib/python3.6/site-packages (21.0.1)
WARNING: Skipping depthai as it is not installed.
Requirement already satisfied: numpy==1.19.5 in ./depthai/lib/python3.6/site-packages (from -r requirements.txt (line 1)) (1.19.5)
Requirement already satisfied: opencv-python==4.5.1.48 in ./depthai/lib/python3.6/site-packages (from -r requirements.txt (line 2)) (4.5.1.48)
Requirement already satisfied: requests==2.24.0 in ./depthai/lib/python3.6/site-packages (from -r requirements.txt (line 3)) (2.24.0)
Requirement already satisfied: argcomplete==1.12.1 in ./depthai/lib/python3.6/site-packages (from -r requirements.txt (line 4)) (1.12.1)
Requirement already satisfied: pyyaml==5.3.1 in ./depthai/lib/python3.6/site-packages (from -r requirements.txt (line 5)) (5.3.1)
Collecting depthai==0.4.1.1
Using cached depthai-0.4.1.1-cp36-cp36m-linux_aarch64.whl
Requirement already satisfied: importlib-metadata<3,>=0.23 in ./depthai/lib/python3.6/site-packages (from argcomplete==1.12.1->-r requirements.txt (line 4)) (2.1.1)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./depthai/lib/python3.6/site-packages (from requests==2.24.0->-r requirements.txt (line 3)) (1.25.11)
Requirement already satisfied: idna<3,>=2.5 in ./depthai/lib/python3.6/site-packages (from requests==2.24.0->-r requirements.txt (line 3)) (2.10)
Requirement already satisfied: chardet<4,>=3.0.2 in ./depthai/lib/python3.6/site-packages (from requests==2.24.0->-r requirements.txt (line 3)) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in ./depthai/lib/python3.6/site-packages (from requests==2.24.0->-r requirements.txt (line 3)) (2020.12.5)
Requirement already satisfied: zipp>=0.5 in ./depthai/lib/python3.6/site-packages (from importlib-metadata<3,>=0.23->argcomplete==1.12.1->-r requirements.txt (line 4)) (3.4.0)
Installing collected packages: depthai
Successfully installed depthai-0.4.1.1
(depthai) user@jetson-desktop:/dev/depthai$ python3 depthai_demo.py
Illegal instruction (core dumped)
(depthai) user@jetson-desktop:/dev/depthai$ python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(depthai) user@jetson-desktop:/dev/depthai$ python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import cv2
Illegal instruction (core dumped)
(depthai) user@jetson-desktop:/dev/depthai$ python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import numpy
Illegal instruction (core dumped)