R
R
Rustam Ismailov2021-01-16 15:48:36
Python
Rustam Ismailov, 2021-01-16 15:48:36

How to fix an error when running a compiled program on pyinstaller under mac os?

Hello, when you run the program compiled on pyinstaller under mac os, an error occurs:
Last login: Sat Jan 16 14:39:22 on ttys000
/Users/rustametor/Desktop/test/dist/test ; exit;
[email protected] ~ % /Users/rustametor/Desktop/test/dist/test ; exit;
[11584] Error loading Python lib '/var/folders/3v/9nwstr9x2xv278br_m2cg2sr0000gn/T/_MEI35dLBk/Python': dlopen: dlopen(/var/folders/3v/9nwstr9x2xv278br_m2cg2sr0000gn/T/_MEI35dLBk): . Did find:
/var/folders/3v/9nwstr9x2xv278br_m2cg2sr0000gn/T/_MEI35dLBk/Python: code signature invalid for '/var/folders/3v/9nwstr9x2xv278br_m2cg2sr0000gn/T/_MEI35dLBk/Python'

Saving session...
...copying shared history. ..
...saving history...truncating history files...
...completed.

[Process completed]
How can this be fixed?
Python version 3.8.2

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question