pyinstaller-hooks-contrib icon indicating copy to clipboard operation
pyinstaller-hooks-contrib copied to clipboard

ModuleNotFoundError: No module named 'dbus_fast._private.marshaller'

Open zhuyu4839 opened this issue 1 year ago • 0 comments

Describe the bug ModuleNotFoundError: No module named 'dbus_fast._private.marshaller'

  • Which hook/library isn't working? dbus_fast(version: 2.11.1)

  • Does the error get raised while building or when running? Nothing to raise

To Reproduce

A minimal example file:

from dbus_fast.message import Message

PyInstaller command:

pyinstall test.py

Error:

  File "try_usb.py", line 25, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 391, in exec_module
  File "dbus_fast/__init__.py", line 1, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 391, in exec_module
  File "dbus_fast/introspection.py", line 5, in <module>
  File "PyInstaller/loader/pyimod02_importers.py", line 391, in exec_module
  File "dbus_fast/errors.py", line 57, in <module>
  File "src/dbus_fast/message.py", line 1, in init dbus_fast.message
ModuleNotFoundError: No module named 'dbus_fast._private.marshaller'
[11115] Failed to execute script 'try_usb' due to unhandled exception!

Desktop (please complete the following information):

  • OS: Manjaro
  • Python Version: python 3.11.5
  • Version of pyinstaller-hooks-contrib: 2023.10
  • Version of PyInstaller: 6.1.0

zhuyu4839 avatar Nov 06 '23 03:11 zhuyu4839