# Issue while Importing Pandas

**URL:** <https://discourse.jupyter.org/t/issue-while-importing-pandas/28686>\
**Category:** JupyterLab\
**Tags:** help-wanted\
**Created:** [September 25, 2024, 11:35pm UTC](https://discourse.jupyter.org/t/issue-while-importing-pandas/28686 "2024-09-25T23:35:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![covert\_Buddh4](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/covert_buddh4/32/15095_2.png) [@covert\_Buddh4](https://discourse.jupyter.org/u/covert_Buddh4)\
**Post date:** [September 25, 2024, 11:35pm UTC](https://discourse.jupyter.org/t/issue-while-importing-pandas/28686/1 "2024-09-25T23:35:38Z")

</div>

I Updated to windows 11 recently and since everytime i try to import pandas i get the same error message “No module named ‘pandas.\_libs.pandas\_parser’”.

I’m not sure what exactly this means or why it is occurring but i have tried everything i can think.  
Upgraded Pandas, Uninstalled and reinstalled pandas, un installed and reinstalled anaconda but nothing has worked.

any ideas would be greatly appreciated

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [September 26, 2024, 2:09pm UTC](https://discourse.jupyter.org/t/issue-while-importing-pandas/28686/2 "2024-09-26T14:09:32Z")

</div>

First, did you name anything `pandas` in your working directory? Or in your system’s path?  
Rule that out and then you can proceed with some suggestions…

If you open a prompt from the Anaconda Navigator and start up Python, does this code work there? If not, then it isn’t a Jupyter issue per se.

And how you have you specifically been doing these steps you perform? You don’t provide details as to what or where are running these steps you list as ‘everything’.

Normally, I wouldn’t suggest mixing and matching `pip` use with Anaconda/conda, but sometimes using `pip` can help troubleshoot or get past an annoying hurdle like this. Have you tried [this](https://stackoverflow.com/a/54539768/8508004) from inside running Jupyter where you are trying to import? Specifically, you used the magic versions of those commands with the `%` symbol for line magic in a Jupyter cell, like so:

```python
%pip uninstall pandas
%pip install pandas 

```

It probably won’t allow it because you are using Anaconda/conda but it is a place to start and the type of thing you would have to describe to fully share what you mean by ‘tried everything’.

The other thing is that you say you uninstalled and reinstalled Anaconda. But are you cleaning everything out after you install. Whatever is causing you an issue could still be there?
