python-eel/Eel

PyInstaller with Electron

Open

#712 aberto em 6 de dez. de 2023

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Python (570 forks)batch import
help wanted

Métricas do repositório

Stars
 (5.980 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Describe the problem I have a problem while trying to run the result from Pyinstaller with eel and electron.

Code snippet(s)

python3 -m eel backend/main.py design --onefile  
python3 -m eel backend/main.py design --onefile --noconsole

Same issue while I am trying to run the result package with and without --noconsole

Terminal's result when opening the package:

Traceback (most recent call last):
  File "main.py", line 45, in <module>
  File "eel/__init__.py", line 174, in start
  File "eel/__init__.py", line 206, in show
  File "eel/browsers.py", line 77, in open
OSError: Can't find Electron installation
[31748] Failed to execute script 'main' due to unhandled exception!

Desktop:

  • OS: macOS Sonoma 14.1.2
  • Browser (using electron)

Guia do colaborador