Module not available

Product: PDFTron

Product Version: 9.2.0

Please give a brief summary of your issue:
able to run HTML2PDFTest: PDFTron SDK HTML2PDF module not available.

Please describe your issue and provide steps to reproduce it:
My python version on windows is
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 19:29:22) [MSC v.1916 32 bit (Intel)] on win32.
I installed using the command ‘pip install PDFNetPython3’.

I downloaded the sample and
when I run

python -u
Traceback (most recent call last):
File “”, line 12, in
from LicenseKey import *
ModuleNotFoundError: No module named ‘LicenseKey’

Then I pasted the Licence key directly in the
and I got this error


PDFNet is running in demo mode.

    Unable to run HTML2PDFTest: PDFTron SDK HTML2PDF module not available.
    The HTML2PDF module is an optional add-on, available for download
    at If you have already downloaded this
    module, ensure that the SDK is able to find the required files
    using the HTML2PDF.SetModulePath() function.

Please provide a link to a minimal sample where the issue is reproducible:

what is going on here…can you please help?

Hi Saurabh,

The HTML2PDF is an add-on that must be installed separately from the SDK. Please view the following page for the download and also instructions on how to set it up: