Error loading Python lib for pyinstaller package on Mac

59 views
Skip to first unread message

Ramana Mogili

unread,
May 4, 2020, 5:10:34 PM5/4/20
to PyInstaller
I am getting the following error on Mac for pyinstaller package. 

5014] Error loading Python lib '/var/folders/3d/078tpf8j1t39zmckt1gjf7fh0000gn/T/_MEI3DkNGs/Python': dlopen: dlopen(/var/folders/3d/078tpf8j1t39zmckt1gjf7fh0000gn/T/_MEI3DkNGs/Python, 10): no suitable image found.  Did find:
/var/folders/3d/078tpf8j1t39zmckt1gjf7fh0000gn/T/_MEI3DkNGs/Python: code signature invalid for '/var/folders/3d/078tpf8j1t39zmckt1gjf7fh0000gn/T/_MEI3DkNGs/Python'

Dean-O Rochester

unread,
May 4, 2021, 10:33:24 AM5/4/21
to PyInstaller
I have the same error on my mac running high sierra and python 3.9.4  and latest pyinstaller unsure of version, installed it in the last month.    Simple pyinstaler myscript.py   when I put in on a friends mac to run ./dist/myapp/myscript   I get the same error.  

Help please and thank  you

bwoodsend

unread,
May 4, 2021, 1:40:28 PM5/4/21
to PyInstaller

This should have been resolved by #5451 which was included in PyInstaller 4.2 so if you really do have the latest version (check with pyinstaller --version) you should already have it.

Reply all
Reply to author
Forward
0 new messages