Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple failures to install using Poetry and pip on Windows... #1465

Open
richlysakowski opened this issue Dec 10, 2024 · 4 comments
Open
Labels
bug Something isn't working

Comments

@richlysakowski
Copy link

System Info

Windows 10 Professional
Python 3.10, Python 3.12
PandasAI latest version 2.4.0

🐛 Describe the bug

Hey Guys, what is with the major incompatibilities of PandasAI with Pandas?

WHAT I TRIED:

I tried installing on 3 different Windows Professional machines:

  1. in a conda environment, with pip install pandasai,
  2. with poetry alone, with pip install pandasai,
  3. with poetry tools in conda, then pip install.

THE RESULT I GOT WAS:

It failed on every installation, because of pip or poetry trying to compile the old 1.5.3 version of pandas.

You need to get caught up with Pandas. The package is called PANDAS AI.
This should be really obvious, but start with the latest Pandas version and compile AI APIs on top of it.

Dump Poetry and deliver conda packages. Don't make it hard for users and give us only pip-based packages to work with. Many users don't know how to install the Microsoft C++ 14 Build tools; this is why it failed to build in the first installation attempt using Poetry. Use conda to take away the burden of compilation expertise away from end users and puts it squarely onto developers.

Pandas 1.5.3 was released almost 2 years ago. Get with the program, PLEASE!! Please stay up to date with Pandas as a high priority.

@dosubot dosubot bot added the bug Something isn't working label Dec 10, 2024
@ZadeFrontier
Copy link

ZadeFrontier commented Dec 10, 2024

They keep mentioning that OpenAI requires pandas=1.5.3 and has a dependancy on it instead of trying to resolve the issue. I don't understand why they have to be inter-dependant on each other. They can be 2 different components and use agents to connect to each other.

@ZadeFrontier
Copy link

ZadeFrontier commented Dec 10, 2024

They also keep mentioning to wait till pandasai Version 3 to catch up to Pandas>2.

@richlysakowski
Copy link
Author

They keep mentioning that OpenAI requires pandas=1.5.3 and has a dependancy on it instead of trying to resolve the issue. I don't understand why they have to be inter-dependant on each other. They can be 2 different components and use agents to connect to each other.

OpenAI, CrewAI, Llama index, Anthropic can use Pandas 2.2 without problems, so it is unclear why the PandasAI team has waited, other than resource constraints on their developer team.

@gdcsinaptik
Copy link
Collaborator

@richlysakowski we confirm that the upcoming release of PandasAI 3.0 fixes the issue with Pandas 2+ dependency. The release will also make the installation more lightweight. Overall, we have carefully worked for a major improvement of the library in terms of simplicity of use, not only installation. Thanks for your patience on this dependency issue.

P.S.
Looking forward to share a beta release of the 3.0 soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants