How to Solve NameError: name 'BlockingScheduler' is not defined -- apscheduler

Solution: Import the 'BlockingScheduler' module

To Solve the error, add the following line to the top of your code.

from apscheduler.schedulers.blocking import BlockingScheduler

 

For more information:
Python apscheduler BlockingScheduler