Import hailo throws Segmentation Fault

When trying to run the detection.py file from the RPi 5 examples, I get this error.

Traceback (most recent call last):
  File "/home/nyxassassins/hailo-rpi5-examples/basic_pipelines/detection.py", line 8, in <module>
    import hailo
ImportError
Segmentation fault

Any help is appreciated!