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 HTML2PDFTest.py
Traceback (most recent call last):
File “HTML2PDFTest.py”, line 12, in
from LicenseKey import *
ModuleNotFoundError: No module named ‘LicenseKey’

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

python HTML2PDFTest-V1.py

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 https://www.pdftron.com/. 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?
Saurabh

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: