I am facing an issue in importing module in jupyter notebook. The issue is that I access the jupyter notebook through anaconda software and when i tired installing seaborn, I used the command "pip install seaborn" in cmd and the package was installed(verifed through "pip list") but when i tried importing the seborn package in notebook it gave the error ModuleNotFoundError: No module named 'seaborn' I even restarted the kernel,notebook and anacond but still the issue persisted. But when i did "conda list" in the notebook the package was not there but then after "conda install seaborn" the package got installed and the package got imported. I wanted to know why this error occured as i didnt face this situation while importing numpy or pandas(for numpy or pandas only pip install was enough)
python version:3.10.5
conda version:4.14.0
jupyter version:4.10.0