Error loading Python lib ...'image not found error

57 views
Skip to first unread message

Paul Fishback

unread,
Jun 20, 2021, 7:57:16 AM6/20/21
to PyInstaller
I'm using Python 3.9 and the latest pyinstaller on a Mac running Big Sur. When running pyinstaller, I receive some warnings but no error messages. To get to this stage I had to modify pathex to include a path to the directory where all my modules are stored.

When attempting to run the application from the terminal, I get the following error message, one I've never encountered before:

Error loading Python lib '/Users/fishbacp/Desktop/dist/MyApp.app/Contents/MacOS/Python': dlopen: dlopen(/Users/fishbacp/Desktop/dist/Read_CSV_Barplot.app/Contents/MacOS/Python, 10): image not found

Thanks

PaulF

Reply all
Reply to author
Forward
0 new messages