IDE Issue for Python Program



I am writing python 3 program in IDE however, I get following error for importing Pandas in python.
import pandas as pd
ModuleNotFoundError: No module named ‘pandas’

However, I have also installed Anaconda and with that I used Jupyter Notebook to run the same program and it was successful.
How can I solve this issue