Issue while Importing Pandas

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

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 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:

%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?