Actually, chalk this up to user error: I read the path wrong. It wanted the 
packages to be in /Users/local/opt/anaconda3/lib, but they are not there (for 
whatever reason). If I search in a different virtual env (where installing 
cx-freeze failed), I find them.  How do I point to that location?


As an aside, I brute forced this by copying the frameworks it wanted into the 
location it wanted and the build succeeded.  However, I end up with an .exe 
(not an app) in /Users/local/Dev/plex/build/exe.macosx-10.9-x86_64-3.7.

I tried to run it, but I get an error...
Fatal Python error: initfsencoding: unable to load the file system codec
Traceback (most recent call last):
 File "/Users/local/opt/anaconda3/lib/python3.7/encodings/__init__.py", line 
31, in <module>
zipimport.ZipImportError: can't decompress data; zlib not available
zsh: abort ./plex_library_viewer

I’m sure I am doing so many things wrong! Please enlighten me!

Thanks!
On Jun 12, 2020, 8:18 AM -0700, Robin Siebler <robinsieb...@dslextreme.com>, 
wrote:
> I am trying to build an app on macOS, which seems to be an impossible task! 
> I’ve tried several different tools and each one has had problems. cx-freeze 
> is my final attempt (why are things so much easier on Windows?)
>
>
> Here is my problem (the first of many, no doubt, assuming this is solved):  I 
> am trying to build a macOS PyQt5 app.  It ends in failure:
> error: otool returned a dependent file that could not be found: 
> /Users/local/opt/anaconda3/lib/QtGui.framework/Versions/5/QtGui
>
> However, when I look in the locations specified, the file is there.
>
> Attached is my setup file.
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to