Install libedgetpu1-std

echo "deb <https://packages.cloud.google.com/apt> coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list

curl <https://packages.cloud.google.com/apt/doc/apt-key.gpg> | sudo apt-key add -

sudo apt-get update
	sudo apt-get install libedgetpu1-std

Next connect the USB Coral to the NUC on a 3.0 USB port. If you already plugged it in, remove it and replug it so the newly-installed udev rule can take effect.

Install pycoral library

The following instructions were taken from https://github.com/google-coral/pycoral/issues/85

Install build tools and dependencies

sudo apt-get install -y build-essential python3-dev python3-wheel python3-numpy apt-transport-https curl gnupg

Install Blazel

curl -fsSL <https://bazel.build/bazel-release.pub.gpg> | gpg --dearmor >bazel-archive-keyring.gpg
sudo mv bazel-archive-keyring.gpg /usr/share/keyrings
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] <https://storage.googleapis.com/bazel-apt> stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
sudo apt-get update
sudo apt-get install -y bazel-5.3.2
sudo ln -s /usr/bin/bazel-5.3.2 /usr/bin/bazel

Pull Pycoral sources and build once, it will fail

cd ~/dev
git clone --recurse-submodules <https://github.com/google-coral/pycoral>
cd pycoral
make

Edit build cache

nano $(find $HOME -name python_configure.bzl 2>/dev/null | grep tensorflow)

Change the function _get_python_include to the following

def _get_python_include(repository_ctx, python_bin):
    """Gets the python include path."""
    return "/usr/include/python3.10"

Launch build again, it shall still fail

make

Edit build cache for the last time