I have this script that works fine when executed manually. Problem is that when I Windows Task Scheduler It seems to hang somewhere.
The task is executed by a service account with privileges to run as a batch job, and has full control over the Anaconda3 folder.
import pandas as pd
print("Hello")
I tried to execute this to show some log on what's happening at it seems like the problem is when importing pandas.
python -m trace --trace script.py > logfile.log
Greatly appreciate any resolution on this.