You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PDFTron PDFNet SDK
Can't import a module in my application, tests work fine though. What am I doing wrong?
code:
import site
site.addsitedir("/Users/myuser/Downloads/PDFNetWrappersMac/PDFNetC/Lib")
import sys
from PDFNetPython import *
exception:
'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'
Ryan
unread,
Feb 28, 2017, 9:29:48 PM2/28/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PDFTron PDFNet SDK
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.