Gettinf the following error when running software for SwitchDoc's GroveWeatherPi:
I have installed mysql and have tried apscheduler 3.x and 2.x
Still same result. Any help would be greatly appreciated!
Error:pi@raspberrypi:~/SDL_Pi_GroveWeatherPi $ sudo python GroveWeatherPi.py
Traceback (most recent call last):
File "GroveWeatherPi.py", line 55, in <module>
from apscheduler.schedulers.background import BackgroundScheduler
ImportError: No module named schedulers.background
pi@raspberrypi:~/SDL_Pi_GroveWeatherPi $
Below is the code from the software itself:1 2 3 4 5 6 7 8 9 10 11 12 13 |
from apscheduler.schedulers.background import BackgroundScheduler import apscheduler.events # Check for user imports try : import conflocal as config except ImportError: import config if (config.enable_MySQL_Logging = = True ): import MySQLdb as mdb |
Still same result. Any help would be greatly appreciated!