I have created my first puthon 3.6 file that i can run without error, but when i set it to run as a daily task it gives me an import error in the log. Thanks, from a absolute novice.
Python 3.6 file imports and runs this without error-
import urllib.request
import re
import smtplib
source = urllib.request.urlopen("http://www.blahblahblah
But when run as a daily task it fails and reports this-
Traceback (most recent call last): File "/home/Towels/Dell5.py", line 1, in <module> import urllib.request ImportError: No module named request
2018-02-08 06:07:19 -- Completed task, took 10.00 seconds, return code was 1.