python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.44k stars 587 forks source link

eel + pyinstaller mac os 10.15.7 #425

Open Fearta-creator opened 3 years ago

Fearta-creator commented 3 years ago

Describe the problem Tell me how to build a project for Mac OS? I successfully do this under Windows. I repeat all the steps on the Mac OS and nothing comes of it! I couldn't find answers on the Internet ( For example, I create a program "Hello World" and it also does not start, not in the form of a console, not in the form of an APP (there is no launch at all). This is what the console writes to me:

Last login: Fri Jan  8 15:52:43 on ttys001

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
Macmini:~ fearta$ /Users/fearta/Desktop/1/dist/UI ; exit;
[59486] Error loading Python lib '/var/folders/__/vxs2xk015jzgb69rk_xkwmfh0000gq/T/_MEIdD2eCv/Python': dlopen: dlopen(/var/folders/__/vxs2xk015jzgb69rk_xkwmfh0000gq/T/_MEIdD2eCv/Python, 10): no suitable image found.  Did find:
    /var/folders/__/vxs2xk015jzgb69rk_xkwmfh0000gq/T/_MEIdD2eCv/Python: code signature invalid for '/var/folders/__/vxs2xk015jzgb69rk_xkwmfh0000gq/T/_MEIdD2eCv/Python'

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

[Процесс завершен]
import eel

eel.init("web")
eel.start("index.html", size=(1500, 1100))

...
<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Test</title>
</head>
<body>
    <p>Hello world!</p>
</body>
</html>

Desktop (please complete the following information):

lnilya commented 3 years ago

Hmm do you have python installed on the machine you are building and is it the correct version? What happens if you type in 'python3' into console?