Schedule a script developed in Anaconda via Windows Task Scheduler
问题 I'm trying to use Windows Task Scheduler to run a script in python and write a csv file. I've always used Anaconda, so I don't understand how Python's command line works. If I run this on Spyder, import pandas as pd import datetime now_is = pd.DataFrame(['Now is '+ str(datetime.datetime.now())]) now_is.to_csv('C:/Users/camila/now_is.csv') it works perfectly. But Task Scheduler executes this .py using the command terminal, where this code won't work. I guess I need to install pandas again, but