ImportError: cannot import name 'StringDtype' from 'pandas' (Anaconda3\lib\site-packages\pandas\


Totay newbie.

installed modin in a clean new environment.

Working with VS code

This is the error when trying to execute the import statement “import modin.pandas as pd”

----> 9 import modin.pandas as pd
10 #import pandas as pd
11 #import modin.pandas as pd

~\Anaconda3\lib\site-packages\modin\ in
24 )
—> 26 from pandas import (
27 eval,
28 unique,

ImportError: cannot import name ‘StringDtype’ from ‘pandas’ (C:\Users\cg\Anaconda3\lib\site-packages\

Hi @modin_vscode, welcome!

Can you run the following and tell me what prints?

import pandas

It may be a version mismatch issue.

Thank you for your quick response.



…Which is very suppressing to me, since I installed modin on a clean environment, I would expect (?) to get the right versions for the needed dependencies.

i issued
conda create -n my_modin modin

In any case, what would be your recommendation to make modin work as intended?

pip install pandas==1.0.3 should hopefully do the trick. This is surprising to me as well, I will check on the conda build to see if something is wrong there.