Eel icon indicating copy to clipboard operation
Eel copied to clipboard

eel + pyinstaller mac os 10.15.7

Open Fearta-creator opened this issue 5 years ago • 1 comments

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.

[Процесс завершен]
  • [x] 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

Fearta-creator avatar Jan 08 '21 13:01 Fearta-creator

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?

lnilya avatar Sep 02 '21 00:09 lnilya