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:
- Create a virtual machine using UTM. (Download UTM file from the app’s library)
- Run
sudo apt-get update
. - Install python virtual environment.
sudo apt install python3-venv
. - Create a folder and create a virtual environment
python3 -m venv venv
inside the folder. - Activate virtual environment
source venv/bin/activate
- Install numpy, opencv and py_nuitrack.
- Install Nuitrack for linux.
- Create a python file inside the project folder ( example main.py).
- Import pynuitrack -
from PyNuitrack import py_nuitrack
- 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.