ModuleNotFoundError for C++ component

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

ModuleNotFoundError for C++ component

Hi all

I get a "ModuleNotFoundError" when running an exe. The exe is compiled using --debug=imports and this says that the module "" is missing.

However, these is no such module in the pikepdf package. There is a "" module, but including this module via --hidden-import= does not help.

So, how can I include a module that doesn't seem to exist?

The file contains the comment "Support functions called by the C++ library binding layer. Not intended to be called from Python"


Here's the dump:

# pikepdf._cpphelpers not found in PYZ

Traceback (most recent call last):

     File "", line 240, in <module>

     File "<frozen importlib._bootstrap>", line 961, in _find_and_load

     File "<frozen importlib._bootstrap>", line 948, in _find_and_load_unlocked

ModuleNotFoundError: No module named 'pikepdf._cpphelpers'

You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at
For more options, visit