# Exception has occurred: ModuleNotFoundError No module named 'pandas'

**URL:** <https://discuss.python.org/t/exception-has-occurred-modulenotfounderror-no-module-named-pandas/51201>\
**Category:** Python Help\
**Created:** [April 17, 2024, 8:14am UTC](https://discuss.python.org/t/exception-has-occurred-modulenotfounderror-no-module-named-pandas/51201 "2024-04-17T08:14:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikhilrameshp](https://avatars.discourse-cdn.com/v4/letter/n/3ec8ea/32.png) [@nikhilrameshp](https://discuss.python.org/u/nikhilrameshp)\
**Post date:** [April 17, 2024, 8:14am UTC](https://discuss.python.org/t/exception-has-occurred-modulenotfounderror-no-module-named-pandas/51201/1 "2024-04-17T08:14:28Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/python1/original/3X/a/b/ab4569bc531f64ae7d86e2f77f0be20584e8d906.png)

I have install pandas even though i cant able to run any pandas module programs

IDE : Visual Studio Code

---

<div class="post-metadata">

**Author:** ![barry-scott](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@barry-scott](https://discuss.python.org/u/barry-scott)\
**Post date:** [April 17, 2024, 8:42am UTC](https://discuss.python.org/t/exception-has-occurred-modulenotfounderror-no-module-named-pandas/51201/2 "2024-04-17T08:42:45Z")

</div>

Most like this is because the version of python you installed the modules for is not the same version that VS code is using.

You can see the version of python for your pip command using `pip --version` abd for your python with `python --version`.

Also of interest is to use the py.exe program to list all the versions of python you have installed `py -0`
