[GH-ISSUE #273] auto-py-to-exe ImportError #241

Closed
opened 2026-02-26 12:20:56 +03:00 by kerem · 7 comments
Owner

Originally created by @Envases on GitHub (May 19, 2022).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/273

Hi Guys

I have recently tried to install auto-py-to-exe and had no errors at this step. The problem comes when I try to run the code. I get an error as follows:

ImportError: cannot import name 'chrome' from 'eel'

Complete Trace Log

C:>auto-py-to-exe
Traceback (most recent call last):
File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\Scripts\auto-py-to-exe.exe_main.py", line 4, in
File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\lib\site-packages\auto_py_to_exe_main.py", line 10, in
from . import ui
File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\lib\site-packages\auto_py_to_exe\ui.py", line 8, in
from . import utils
File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\lib\site-packages\auto_py_to_exe\utils.py", line 8, in
from eel import chrome
ImportError: cannot import name 'chrome' from 'eel' (unknown location)

C:>

Just to let you know.

Originally created by @Envases on GitHub (May 19, 2022). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/273 Hi Guys I have recently tried to install auto-py-to-exe and had no errors at this step. The problem comes when I try to run the code. I get an error as follows: ImportError: cannot import name 'chrome' from 'eel' Complete Trace Log C:>auto-py-to-exe Traceback (most recent call last): File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return run_code(code, main_globals, None, File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code exec(code, run_globals) File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\Scripts\auto-py-to-exe.exe_main.py", line 4, in File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\lib\site-packages\auto_py_to_exe_main.py", line 10, in from . import ui File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\lib\site-packages\auto_py_to_exe\ui.py", line 8, in from . import utils File "C:\Users\ANaberan\AppData\Local\Programs\Python\Python310\lib\site-packages\auto_py_to_exe\utils.py", line 8, in from eel import chrome ImportError: cannot import name 'chrome' from 'eel' (unknown location) C:> Just to let you know.
kerem closed this issue 2026-02-26 12:20:56 +03:00
Author
Owner

@Envases commented on GitHub (May 19, 2022):

Forhot to add, I have installed auto-py-to-exe 2.19.0 with Python 3.10

<!-- gh-comment-id:1131320686 --> @Envases commented on GitHub (May 19, 2022): Forhot to add, I have installed auto-py-to-exe 2.19.0 with Python 3.10
Author
Owner

@Envases commented on GitHub (May 19, 2022):

and Pyinstaller 5.1 installed

<!-- gh-comment-id:1131330581 --> @Envases commented on GitHub (May 19, 2022): and Pyinstaller 5.1 installed
Author
Owner

@brentvollebregt commented on GitHub (May 19, 2022):

What version of Eel do you have installed?

<!-- gh-comment-id:1131544010 --> @brentvollebregt commented on GitHub (May 19, 2022): What version of Eel do you have installed?
Author
Owner

@Envases commented on GitHub (May 19, 2022):

I had Eel upgrade Log 0.12.4 installed. I tried to update it as you mentioned it to 0.14.0, but in doing so, it notifies me that it is incompatible with auto-py-to-exe 2.19.0. I have attached an image capture of the log.

<!-- gh-comment-id:1131567017 --> @Envases commented on GitHub (May 19, 2022): I had ![Eel upgrade Log](https://user-images.githubusercontent.com/42238206/169282253-1bfe34b6-21aa-48f8-98c1-014753d1b856.png) 0.12.4 installed. I tried to update it as you mentioned it to 0.14.0, but in doing so, it notifies me that it is incompatible with auto-py-to-exe 2.19.0. I have attached an image capture of the log.
Author
Owner

@Envases commented on GitHub (May 19, 2022):

Must I uninstall Eel 0.14.0?

<!-- gh-comment-id:1131567739 --> @Envases commented on GitHub (May 19, 2022): Must I uninstall Eel 0.14.0?
Author
Owner

@Envases commented on GitHub (May 19, 2022):

In spite of this, now it works or at least the application turns up.

<!-- gh-comment-id:1131571070 --> @Envases commented on GitHub (May 19, 2022): In spite of this, now it works or at least the application turns up.
Author
Owner

@brentvollebregt commented on GitHub (May 20, 2022):

This project requires Eel 0.14.0 - this is enforced in requirements.txt and the setup script.

Looking at your screenshot, before you ran pip install -U Eel, you had 0.12.4 installed. The screenshot also shows you have now installed 0.14.0 - thus why it is working now.

<!-- gh-comment-id:1132501402 --> @brentvollebregt commented on GitHub (May 20, 2022): This project requires Eel 0.14.0 - this is enforced in requirements.txt and the setup script. Looking at your screenshot, before you ran `pip install -U Eel`, you had 0.12.4 installed. The screenshot also shows you have now installed 0.14.0 - thus why it is working now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#241
No description provided.