python-eel/Eel

eel + pyinstaller mac os 10.15.7

Open

#425 建立於 2021年1月8日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (570 fork)batch import
help wanted

倉庫指標

Star
 (5,980 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

[Процесс завершен]
  • I know that if I don't provide sample code that allows someone to quickly step into my shoes, I may not get the help I want or my issue may be closed.
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):

  • OS: Mac OS Catalina 10.15.7
  • Browser chrome
  • Version 87.0.4280.88

貢獻者指南