python 在使用 schedule定时任务是,报错 "module 'schedule' has no attribute 'every"

解决方案:

是因为我所在的文件路径中,自己有定义schedule.py ,所以解析器会同时读取到该路径下的模块,

把该模块的名字修改掉就可以了!

更多推荐

module 'schedule' has no attribute 'every