ModuleNotFoundError: No module named 'schedule'
I have python program that imports schedule (
import schedule) at the beginning. The code executes without a problem with python3 command, but starting it from other python file with
call("sudo python3 ProgramWithSchedule.py", shell=True) returns error
ModuleNotFoundError: No module named 'schedule'. And I can't figure out why...
I have library schedule installed with pip, pip3 AND apt-get (tried all three just to be sure :)