Converting ONNX to HEF file error. ImportError: libhailort.so.4.20.0: cannot open shared object file: No such file or directory

I have been following a guide by cytron on converting an onnx file to hef. After fixing an error related to conflicting versions of numpy, I got another error related to hailo_platform:

After installing the HAiloRT python package the abbove error seems to be fixed, but now I am recieving the error shown below:

Any help fixing this would be greatly appreciated!

I was having this exact issue from the same tutorial and resolved it. the problem is you need both the HailoRT – Python package AND the HailoRT – Ubuntu package .deb. I followed the install guide from: “Installation of pyHailoRT into an Existing Environment” and " Installation Without the PCIe Driver (for Ethernet based platforms)" I was able to get my wsl ubuntu to run the compilation