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.

Cannot import name 'Timer'

See original GitHub issue

I downloaded the files from GitHub and tried to run the run.py file.

C:\Python\PycharmProjects\GitHub\auto-py-to-exe>python run.py
Traceback (most recent call last):
  File "run.py", line 6, in <module>
    from auto_py_to_exe import __main__ as apte
  File "C:\Python\PycharmProjects\GitHub\auto-py-to-exe\auto_py_to_exe\__main__.py", line 10, in <module>
    from . import ui
  File "C:\Python\PycharmProjects\GitHub\auto-py-to-exe\auto_py_to_exe\ui.py", line 5, in <module>
    import eel
  File "C:\Python\Anaconda3\lib\site-packages\eel\__init__.py", line 4, in <module>
    from gevent.threading import Timer
ImportError: cannot import name 'Timer'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
PySimpleGUIcommented, Aug 5, 2020

Ah

That did it. I’m really sorry that I failed to follow instructions. Doh!

Thanks for the quick and patient support.

0reactions
brentvollebregtcommented, Aug 5, 2020

In the README under Running Locally Via Github (no install), step 3 states:

Execute python -m pip install -r requirements.txt

This step is not in your steps to reproduce - please do this before running the application.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot import name Timer #556 - enkore/i3pystatus - GitHub
I have the following error: File "/usr/local/lib/python2.7/dist-packages/i3pystatus/core/util.py", line 7, in <module> from threading import Timer, ...
Read more >
ImportError: cannot import name Error - python - Stack Overflow
I think there are couple of problems with your code. First for all make sure you can import timeit. And you have it...
Read more >
[SOLVED] ImportError: cannot import name Timer - Pycom forum
Firmware version: 0.9.5.b1 I am trying LoRaWAN Nano-gateway example, as described here: ...
Read more >
How to Fix ImportError: Cannot Import Name in Python - Rollbar
The Python ImportError: cannot import name error occurs when an imported class is not accessible or is in a circular dependency.
Read more >
ImportError: cannot import name time - Google Groups
I am new to Python and PsychoPy. I've been going through tutorials and making mini-experiments to learn, and it was going well until...
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