Open SebG-js opened 2 days ago
Hey there, @SebG-js! I'm here to help you with bug fixes, answer questions, and assist in becoming a contributor. Let's tackle this issue together!
To resolve the installation issue of pandasai
with Python 3.12, you need to update the pandas
requirement in the pyproject.toml
file from version 1.5.3
to at least 2.1.1
. This change is necessary because pandas
version 1.5.3
is not fully compatible with Python 3.12. Here's how you can modify the pyproject.toml
file:
[tool.poetry.dependencies]
pandas = ">=2.1.1" # Updated version
This update should help resolve the installation issues by ensuring compatibility with Python 3.12 [1].
To continue talking to Dosu, mention @dosu.
Not so trivial : at least two packages to upgrade: modin .018.1 -> 0.32.0 ibm-watsonx-ai ^0.2.3 -> 1.1.11
but the last version of ibm-watsonx-ai is not compliant w py3.12 https://pypi.org/project/ibm-watsonx-ai/ The official python version is 3.10 :-(
Related to this ticket https://github.com/Sinaptik-AI/pandas-ai/pull/1121.
System Info
Impossible to install pandasai with python 3.12: Python 3.12 OS : ubuntu Pandasai version:
🐛 Describe the bug
Please could you upgrade the pandas requirement from 1.5.3 to a newer version like 2.2 :
Error log: