Help needed: Error loading Python lib

57 views
Skip to first unread message

Adwaya Gupta

unread,
Jun 11, 2020, 7:30:42 AM6/11/20
to PyInstaller
When I run the executable on my Mac OSX, I get an error message in terminal saying:

[6845] Error loading Python lib '/Users/adwaya/Documents/Loginfunds/exe/dist/LoginAndFunds/Python': dlopen: dlopen(/Users/adwaya/Documents/Loginfunds/exe/dist/LoginFunds/Python, 10): no suitable image found.  Did find:

/Users/adwaya/Documents/Loginfunds/exe/dist/LoginFunds/Python: code signature invalid for '/Users/adwaya/Documents/Loginfunds/exe/dist/LoginFunds/Python'


logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.


I am using python 3.8 which is the latest version at time of writing however I did install pyinstaller 4.0.dev0 using pip3 so I'm not sure if that has anything to do with it.


bwoodsend

unread,
Jun 11, 2020, 10:21:53 AM6/11/20
to PyInstaller

PyInstaller doesn’t support Python 3.8.It’s probably just that. Grab a vanilla Python 3.7 for PyInstaller-ing.

jim kaubisch

unread,
Jul 10, 2020, 5:16:51 PM7/10/20
to PyInstaller
It also doesn't seem to support 3.7 beyond 3.7.6 for me

What built/ ran fine for 3.7.6 falls over with the same "code signature invalid" error for 3.7.7 and 3.7.8

Am needing to ,migrate to 3.8. Any idea when PyInstaller will support 3.8 (and 3.7.7 and 3.7.8) ?

jim kaubisch

unread,
Jul 10, 2020, 5:17:05 PM7/10/20
to PyInstaller
Doesn't seem to support 3.7 beyond 3.7.6 for me.
Things that used to run fine built against 3.7.6 are now falling over when built against 3.7.7 and 3.7.8 with the same "code signature invalid" error

3.7 is close to retirement it seems. What is the status of 3.8 support? 

Thanks

On Thursday, June 11, 2020 at 7:21:53 AM UTC-7, bwoodsend wrote:

PyInstaller doesn’t support Python 3.8.It’s probably just that. Grab a vanilla Python 3.7 for PyInstaller-ing.Doesn't seem to support 3.7 beyond 3.7.6.

bwoodsend

unread,
Jul 11, 2020, 9:27:34 AM7/11/20
to PyInstaller

Well if it’s happening on any of the 3.7s then it’s definitely not the 3.8 compatibility issue. 3.7 will certainly not be retiring soon - you should still be able to use anything from 3.5 to 3.7.7. In that case can you give us some more information on what you’re doing.

  • Full build and run trackbacks - not the last line.
  • What packages your using and their versions.
Reply all
Reply to author
Forward
0 new messages