PdfNet Python exception during import

Can't import a module in my application, tests work fine though. What am I doing wrong?

import site
import sys

from PDFNetPython import *

'dlopen(/Users/myuser/Downloads/PDFNetWrappersMac/PDFNetC/Lib/_PDFNetPython.so, 2): Library not loaded: @rpath/libPDFNetC.dylib
  Referenced from: /Users/myuser/Downloads/PDFNetWrappersMac/PDFNetC/Lib/_PDFNetPython.so
  Reason: image not found'

import adds the Python library, but you still need to make the native library available, which you do with the following shell script code, before running python.

export LD_LIBRARY_PATH=../../../PDFNetC/Lib

source: https://github.com/PDFTron/PDFNetWrappers/blob/master/Samples/AddImageTest/PYTHON/RunTest.sh