As many people upgraded their pandas to 2.0 version, they might see the following error, when using with other older version of packages.
For example, during using lightgbm, I got this error when importing lightgbm with pandas 2.0 installed.
AttributeError: module 'pandas' has no attribute 'Int64Index'`
The way to fix it including upgrade several packages like the following:
pip install --upgrade pandas
Hope this will fix your problem as well.