Error running in virtual machine (Ubuntu 22.04.3 LTS)

Hey, I am facing Illegal instruction (core dumped) error in my linux virtual machine.

from PyNuitrack import py_nuitrack

Importing PyNuitrack gives me the error.

System Specifications:

Host System - M2 mac mini, MacOs 14.3.1 (23D60)
Virtual Machine - Ubuntu 22.04.3 LTS, arm64 architecture
Python 3.10.12

Steps to Replicate the error:

  1. Create a virtual machine using UTM. (Download UTM file from the app’s library)
  2. Run sudo apt-get update.
  3. Install python virtual environment. sudo apt install python3-venv.
  4. Create a folder and create a virtual environment python3 -m venv venv inside the folder.
  5. Activate virtual environment source venv/bin/activate
  6. Install numpy, opencv and py_nuitrack.
  7. Install Nuitrack for linux.
  8. Create a python file inside the project folder ( example main.py).
  9. Import pynuitrack - from PyNuitrack import py_nuitrack
  10. Run the file python3 main.py

Additional Details:
Everything I specified here is based on arm64 architecture.
I am totally new to this, thanks in advance.

Hello @rohith22
Nuitrack only works on native hardware and doker. Officially, we do not support working in virtual machine. We recommend using raspberry pi4 or jetson for arm64.

Have you tested the Nuitrack application in this environment?

Thank you for the clarification, I have not tested it in rasberry pi4, jetson or any other arm64 based machines.
I will give it a try, Thank you again

Hello @rohith22

How are you? Did you manage to run the python api sample?

Hey,
I couldn’t get any arm64 machines so I went and ran the api in a x64 linux machine and it was running without any errors.

Hello @rohith22,
How are you? Do you have any questions?