I created a conda environment - testenv2 - installed python/numpy/pandas. Added it as the interpreter in Eclipse project settings and using it to run my test python script.
1.First open Anaconda Powershell Prompt and run the command
conda activate (path where you have the anaconda environment)
2.then open System-->Advanced System Settings-->Environment variables
a.in the User variable Path change the path to
(path where you have the anaconda environment)Library\bin
b.in the System variable add a new variable PYTHONPATH and give its path as
(path where you have the anaconda environment)\Lib;(path where you have the anaconda environment)\DLLs;(path where you have the anaconda environment)\Lib\lib-tk;(Drive where you have the anaconda environment)\other-folders-on-the-path
3.close eclipse and run again