I am running a small piece of code in pycharm using python 2.7 and is running smoothly.
Here is my code:
import pandas as pd
import numpy as np
print("Ok! its running")
Then i created .bat file named "test.bat" to run my program
But when i scheduled my task in task scheduler, I am getting error
Import Error:"Missing reuirment dependencies ['numpy']
I have python 2 and python 3 both in my laptop in D and C drives respectively.
the program runs successfully when i give python 3 path in task scheduler but not with python 2.7.
Why?