Skip to content

Install pandasai with python 3.12, pandas 1.5.3 -> 2.1.1 #1386

Closed
@SebG-js

Description

System Info

Impossible to install pandasai with python 3.12:
Python 3.12
OS : ubuntu
Pandasai version:

  • 2.2.15 : nok
  • 2.2.10 : nok
  • 2.1.1 : nok
  • 2.0.44 : nok
  • 2.0 : nok
  • 1.5.21 : nok

🐛 Describe the bug

Please could you upgrade the pandas requirement from 1.5.3 to a newer version like 2.2 :

Error log:

   UPDATING build/lib.linux-x86_64-cpython-312/pandas/_version.py
      set build/lib.linux-x86_64-cpython-312/pandas/_version.py to '1.5.3'
      running build_ext
      building 'pandas._libs.algos' extension
      creating build/temp.linux-x86_64-cpython-312/pandas/_libs
      x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/src/klib -I/tmp/pip-build-env-x1lo57ag/overlay/lib/python3.12/site-packages/numpy/core/include -I/tmp/pip-build-env-x1lo57ag/overlay/lib/python3.12/site-packages/numpy/core/include -I/tmp/pip-build-env-x1lo57ag/overlay/lib/python3.12/site-packages/numpy/core/include -I/tmp/pip-build-env-x1lo57ag/overlay/lib/python3.12/site-packages/numpy/core/include -I/tmp/pip-build-env-x1lo57ag/overlay/lib/python3.12/site-packages/numpy/core/include -I/tmp/pip-build-env-x1lo57ag/overlay/lib/python3.12/site-packages/numpy/core/include -I/tmp/pip-build-env-x1lo57ag/overlay/lib/python3.12/site-packages/numpy/core/include -I/home/ubuntu/git/JustRAG/venv/include -I/usr/include/python3.12 -c pandas/_libs/algos.c -o build/temp.linux-x86_64-cpython-312/pandas/_libs/algos.o
      error: command 'x86_64-linux-gnu-gcc' failed: No such file or directory
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pandas
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pandas)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions