New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marshal error of WindowsPath in find_binary_dependencies() #8081
Comments
Maybe related to #7515 |
Similar, but with different origin. If you look at lines printed above the error, that offending |
Ah, nevermind, those lines would have been printed after the problematic part. |
Can you try changing this line:
into dll_directories = [str(path) for path in os._added_dll_directories] |
That seems to fix it. The log output now contains:
|
Thanks for confirming! |
Description of the issue
I am trying to package a python project that is based on PySide6 in a windows executable, but PyInstaller fails with an exception.
The value of the "output" variable (see stacktrace below) was:
Context information (for bug reports)
Output of
pyinstaller --version
: 6.1.0Version of Python: 3.9.13 (64-bit)
Platform: Windows 10
How you installed Python: python.org/downloads
Did you also try this on another platform? Not tried
try the latest development version: done, same result
follow all the instructions in our "If Things Go Wrong" Guide
(https://github.com/pyinstaller/pyinstaller/wiki/If-Things-Go-Wrong): done
Make sure everything is packaged correctly
--noupx
or setupx=False
in your .spec-file--debug
topyi-makespec
orpyinstaller
or useEXE(..., debug=1, ...)
in your .spec file.A minimal example program which shows the error
Sorry, can't generate minimal example :-/
Stacktrace / full error message
The text was updated successfully, but these errors were encountered: