If SWIG does not use the Python version and libraries you intend to build the wrappers with, navigate to PDFNetWrappers/PDFNetPython
and add a version requirement to the line find_package(PythonLibs)
. For example, if SWIG is targeting Python 3.7 but you want to compile the wrappers with Python 2.7, change the line to
Note you must have the python version installed on your OS in order for SWIG to target that version. pyenv can help you install another version of Python.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales