Please see the attached traceback, the system is running Debian 10 on Linux
x86_64.
Traceback (most recent call last):
File "server.py", line 174, in <module>
main()
File "server.py", line 147, in main
libabc = ctypes.cdll.LoadLibrary("libabc.so")
File "ctypes/__init__.py", line 442, in LoadLibrary
File "site-packages/PyInstaller/loader/pyiboot01_bootstrap.py", line 149,
in __init__
File "site-packages/PyInstaller/loader/pyiboot01_bootstrap.py", line 135,
in _frozen_name
AttributeError: 'function' object has no attribute 'path'
[20149] Failed to execute script server
I have read the cdll.LoadLibrary() workarounds from
https://pyinstaller.readthedocs.io/en/stable/feature-notes.html , and here,
not using a "leading path" in the string used as an argument to
cdll.LoadLibrary().
I am building the binary with the --add-binary "libabc.so:." option.
Thank you for looking,
Jerome
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/b8d502ac-82ed-430f-9f37-5656a8029fb0n%40googlegroups.com.