dbader / schedule

Python job scheduling for humans.
https://schedule.readthedocs.io/
MIT License
11.71k stars 960 forks source link

ImportError: cannot import name 'Scheduler' from 'schedule' #545

Closed julesnicolsontabuno closed 1 year ago

julesnicolsontabuno commented 2 years ago

Cannot migrate and run my Django project because of this error. I am using Python 3.8.7

jross-7437 commented 1 year ago

I have the same problem, I'm running Python3.10 on MacOS, "from schedule import every" fails with words about circular referencing problems. Ditto "from schedule import Scheduler" - "from schedule import *" doesn't work either

SijmenHuizenga commented 1 year ago

This could happen when your code imports the wrong schedule module. Maybe there is a file schedule.py in your project that overrides the schedule module provided by this library?

Since this issue was created ~half a year ago i assume it has been resolved. If not, feel free to create a new one.