IIIS-Li-Group / OpenFE

OpenFE: automated feature generation with expert-level performance
MIT License
781 stars 99 forks source link

when import, it says module 'pandas' has no attribute 'Int64Index' #25

Open Richard-LYF opened 1 year ago

Richard-LYF commented 1 year ago

![Uploading image.png…]()

Richard-LYF commented 1 year ago

b664ba296c4fb257a30bdb4a260acd2

ZhangTP1996 commented 1 year ago

What is your pandas version? You may try pip install --upgrade pandas.

Richard-LYF commented 1 year ago

我目前版本是2.0.0

Richard-LYF commented 1 year ago

I tried pip install --upgrade pandas, but it still does not work. weird.........

ZhangTP1996 commented 1 year ago

It is most likely due to the environment problems, such as python version or pandas version. You can setup a new conda environment by running

conda create -n env-openfe python=3.8
conda activate env-openfe
python -m pip install openfe

to see if it helps.

Richard-LYF commented 1 year ago

5b8154c80e52abc11860e622d5eaac5 hi, it keeps producing new bugs, hah, why is this package so unstable....

xiandong79 commented 1 year ago

我也计划使用 pandas 2.0.0 版本,请作者及时更新项目。

Richard-LYF commented 1 year ago

hi auther, maybe you can build a wechat group, then we can discuss sth about openfe in there

ZhangTP1996 commented 1 year ago

5b8154c80e52abc11860e622d5eaac5 hi, it keeps producing new bugs, hah, why is this package so unstable....

I apologize that I am unable to replicate the reported bug. Based on my testing, OpenFE is compatible with pandas==2.0.0.

ZhangTP1996 commented 1 year ago

hi auther, maybe you can build a wechat group, then we can discuss sth about openfe in there

Thank you for your suggestion. I will definitely consider it. If I create a WeChat group, I will be sure to let you know

ZhangTP1996 commented 1 year ago

我也计划使用 pandas 2.0.0 版本,请作者及时更新项目。

Did you encounter any errors while using pandas==2.0.0? Based on my testing, OpenFE is compatible with pandas==2.0.0.