pandas-ai icon indicating copy to clipboard operation
pandas-ai copied to clipboard

pip install wrong

Open pidada opened this issue 1 year ago • 9 comments

Hello authors: when i installed pandasai, something was wrong in MacOS.i use the code according to the README.md

pip install pandas

the wrong is:

ERROR: Could not find a version that satisfies the requirement pandasai (from versions: none)
ERROR: No matching distribution found for pandasai

can you help me?

pidada avatar May 06 '23 14:05 pidada

Hey @pidada, you should install pandasai, here's how you can do with pip:

pip install pandasai

If the problem persists, try the following:

pip install --upgrade pandasai

If the problem persists, try the following:

pip install pandasai==0.2.5

If this doesn't solve it either, could you paste the whole output you get with the attempts?

gventuri avatar May 06 '23 23:05 gventuri

I faced this issue on Python 3.6, however by using pip3.9 I was able to install pandasai on Raspbian Bullseye (Debian GNU/Linux 11 (bullseye) aarch64) Raspberry Pi 4.

vishaln15 avatar May 08 '23 00:05 vishaln15

I also had trouble installing the lib with pip on mac, ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. ipykernel 6.4.1 requires ipython<8.0,>=7.23.1, but you have ipython 8.13.2 which is incompatible.

Although, It installed successfully with version pandasai==0.2.5

sandiemann avatar May 08 '23 19:05 sandiemann

I'm getting the following error on Python 3.8.10: ERROR: Could not find a version that satisfies the requirement pandasai (from versions: none) ERROR: No matching distribution found for pandasai

RichardPinter avatar May 08 '23 22:05 RichardPinter

When I try to install pandasai in jupyter notebook, I'm getting the same problem. Anaconda told me I successfully installed pandasai, but I got an error No module named 'pandasai'

PinkPanther221 avatar May 10 '23 06:05 PinkPanther221

Same problem is faced for python version 3.8.10.

Poojan66 avatar May 10 '23 06:05 Poojan66

@RichardPinter @Poojan66 As mentioned in the pypi, it Requires: Python >=3.9, <4.0

https://pypi.org/project/pandasai/

sandiemann avatar May 11 '23 11:05 sandiemann

@gventuri on installing !pip install pandasai on colab I get dependencies conflict for incompatible version of ipython & pandas.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. google-colab 1.0.0 requires ipython~=7.34.0, but you have ipython 8.13.2 which is incompatible. google-colab 1.0.0 requires pandas~=1.5.3, but you have pandas 2.0.1 which is incompatible. WARNING: Upgrading ipython, ipykernel, tornado, prompt-toolkit or pyzmq can cause your runtime to repeatedly crash or behave in unexpected ways and is not recommended. If your runtime won't connect or execute code, you can reset it with "Disconnect and delete runtime" from the "Runtime" menu. WARNING: The following packages were previously imported in this runtime: [IPython]

Could you please fix these versions on setup requirements.txt

sandiemann avatar May 11 '23 11:05 sandiemann

Hello, I want to ask, I can't use pip to install, so I downloaded the installation package locally, what should I do next to use it?

hunaone avatar May 13 '23 10:05 hunaone

Try with !pip install --upgrade pandas pandasai, should work! Also updated the default colab.

@hunaone, check out the README for some examples or have a look at the /examples folder!

gventuri avatar May 15 '23 23:05 gventuri