python-eel / Eel

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

Unable to create eel exe using py2exe #640

Open s-t123 opened 1 year ago

s-t123 commented 1 year ago

Eel version 0.15.0 python == 3.8.10 py2exe = 0.13.0.0

Describe the bug Eel packages giving issues while creating exe using py2exe. exe generated gives below error:

File "eel__init__.pyc", line 21, in File "pkg_resources__init.pyc", line 1154, in resource_filename File "pkg_resources\init__.pyc", line 1754, in get_resource_filename NotImplementedError: resource_filename() only supported for .egg, not .zip

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

samuelhwilliams commented 1 year ago

Hi. Can you explain why you need to use py2exe? At the moment Eel only explicitly supports pyinstaller. Have you tried using that?