Been a while since I needed to use PyInstaller, and now that I do, I am
running into what must be a user error, but I can't figure it out.

Python 3.5

MacOS 10.10

PyInstaller 3.2

Python imports and runs PyQt5 modules fine.

DYLD_LIBRARY_PATH includes /Developer/Qt5.6/5.6/clang_64/lib/ which is the
location of all the Qt frameworks. But just to be sure, I also added a "-p
/Developer/Qt5.6/5.6/clang_64/lib/" to the PyInstaller command.

So the command is

pyinstaller -y --clean --log-level ERROR --noupx --noconsole --onefile -p
/Developer/Qt5.6/5.6/clang_64/lib myscript.py

and no Qt modules are found, all yield errors like:

2908 ERROR: Can not find path ./QtCore.framework/Versions/5/QtCore (needed
by
/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyQt5/Qt/plugins/imageformats/libqjpeg.dylib)

and the built app does not run of course.

So, what obvious thing am I missing here?

Thanks for any help.

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to