[GH-ISSUE #338] Getting frozen runpy and dll error #284

Closed
opened 2026-02-26 12:21:04 +03:00 by kerem · 4 comments
Owner

Originally created by @RajeshMahadevappa on GitHub (Nov 29, 2022).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/338

Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Scripts\auto-py-to-exe.exe_main
.py", line 4, in
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\auto_py_to_exe_main
.py", line 10, in
from . import ui
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\auto_py_to_exe\ui.py", line 5, in
import eel
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\eel_init_.py", line 5, in
from gevent.threading import Timer
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\gevent_init_.py", line 86, in
from gevent._hub_local import get_hub
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\gevent_hub_local.py", line 101, in <module

import_c_accel(globals(), 'gevent.__hub_local')

File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\gevent_util.py", line 148, in import_c_acc
el
mod = importlib.import_module(cname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src\gevent\_hub_local.py", line 1, in init gevent.gevent_c_hub_local
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\greenlet_init
.py", line 29, in
from ._greenlet import _C_API # pylint:disable=no-name-in-module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing _greenlet: The specified module could not be found.

Originally created by @RajeshMahadevappa on GitHub (Nov 29, 2022). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/338 Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Users\User\AppData\Local\Programs\Python\Python311\Scripts\auto-py-to-exe.exe\__main__.py", line 4, in <module> File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\auto_py_to_exe\__main__.py", line 10, in <m odule> from . import ui File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\auto_py_to_exe\ui.py", line 5, in <module> import eel File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\eel\__init__.py", line 5, in <module> from gevent.threading import Timer File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\gevent\__init__.py", line 86, in <module> from gevent._hub_local import get_hub File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\gevent\_hub_local.py", line 101, in <module > import_c_accel(globals(), 'gevent.__hub_local') File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\gevent\_util.py", line 148, in import_c_acc el mod = importlib.import_module(cname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "src\\gevent\\_hub_local.py", line 1, in init gevent._gevent_c_hub_local File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\greenlet\__init__.py", line 29, in <module> from ._greenlet import _C_API # pylint:disable=no-name-in-module ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: DLL load failed while importing _greenlet: The specified module could not be found.
kerem 2026-02-26 12:21:04 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@RajeshMahadevappa commented on GitHub (Nov 29, 2022):

can some one help me to solve this, getting same error everywhere tried with more than 3 system

<!-- gh-comment-id:1331052261 --> @RajeshMahadevappa commented on GitHub (Nov 29, 2022): can some one help me to solve this, getting same error everywhere tried with more than 3 system
Author
Owner

@brentvollebregt commented on GitHub (Nov 29, 2022):

Looks like a duplicate of #325?

<!-- gh-comment-id:1331195865 --> @brentvollebregt commented on GitHub (Nov 29, 2022): Looks like a duplicate of #325?
Author
Owner

@github-actions[bot] commented on GitHub (Dec 30, 2022):

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.

<!-- gh-comment-id:1367670032 --> @github-actions[bot] commented on GitHub (Dec 30, 2022): This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 4, 2023):

Closing issue due to no activity in more than 60 days.

<!-- gh-comment-id:1370380118 --> @github-actions[bot] commented on GitHub (Jan 4, 2023): Closing issue due to no activity in more than 60 days.
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#284
No description provided.