question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I have used auto-py-to-exe several time in the past with great results, however been having this issue for the last couple of days and I have not been able to fix it/found a fix I have tried the 3 methods of installation (PyPI, Install GitHub, and Running Locally) both in a VirtualEnv and Global, however I keep getting the same error.

I have also changed my Python version, started with 3.11 and went all the way to 3.8.10, updated my OS, but ran out of luck

py -m auto_py_to_exe
Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\Python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\kurt\Documents\FacturaParque\auto-py-to-exe\auto_py_to_exe\__main__.py", line 10, in <module>
    from . import ui
  File "C:\Users\kurt\Documents\FacturaParque\auto-py-to-exe\auto_py_to_exe\ui.py", line 5, in <module>
    import eel
  File "<frozen zipimport>", line 259, in load_module
  File "C:\Program Files\Python38\lib\site-packages\eel-0.14.0-py3.8.egg\eel\__init__.py", line 5, in <module>
  File "C:\Program Files\Python38\lib\site-packages\gevent\__init__.py", line 86, in <module>
    from gevent._hub_local import get_hub
  File "C:\Program Files\Python38\lib\site-packages\gevent\_hub_local.py", line 101, in <module>
    import_c_accel(globals(), 'gevent.__hub_local')
  File "C:\Program Files\Python38\lib\site-packages\gevent\_util.py", line 148, in import_c_accel
    mod = importlib.import_module(cname)
  File "C:\Program Files\Python38\lib\importlib\__init__.py", line 127, 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:\Program Files\Python38\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.

auto_py_to_exe

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
knsoniercommented, Nov 14, 2022

@kurte32, I had this same exception happen to me on both a Windows 10 and Windows 11 VM. Are you sure you have the Visual C++ Redistributable Packages installed? This fixed the problem for me.

I downloaded version 14 from here: https://www.microsoft.com/en-ca/download/details.aspx?id=48145

1reaction
kurte32commented, Dec 19, 2022

@kurte32, I had this same exception happen to me on both a Windows 10 and Windows 11 VM. Are you sure you have the Visual C++ Redistributable Packages installed? This fixed the problem for me.

I downloaded version 14 from here: https://www.microsoft.com/en-ca/download/details.aspx?id=48145

Hi, just came back to say thanks, this worked 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix DLL Not Found or Missing Errors - Lifewire
How to Fix DLL "Not Found" & "Missing" Errors · Restart your computer. · Restore the deleted DLL file from the Recycle Bin....
Read more >
13 Ways to Fix Missing DLL Files - Wondershare Recoverit
Fix 1. Reboot your computer. ... Restarting can help a lot. Why? Because the DLL errors are temporary in some cases. 'Not Found'...
Read more >
How to fix Missing DLL files errors on Windows 11/10 PC
Fix Missing DLL files error · Run the built-in System File Checker tool to replace missing or corrupted operating system files · Run...
Read more >
All is not lost: How to fix the dreaded 'missing .dll file' error?
The easiest way to fix the missing .dll file error is to restart your PC. Many times, there are cache problems that a...
Read more >
How to correct common User32.dll file errors - Microsoft Support
If a program or a service accesses User32.dll incorrectly, the program or the service will not work correctly. User32.dll errors are typically corrected...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found