I am having problem with install pandasai, i have tried conda install, remove and re-install. link: /
duckdb/extension/jemalloc/jemalloc/include\jemalloc/internal/jemalloc_internal_macros.h(36): warning C4005: 'restrict': macro redefinition
duckdb/extension/jemalloc/jemalloc/include\jemalloc/internal/jemalloc_internal_decls.h(87): note: see previous definition of 'restrict'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.43.34808\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for duckdb Running setup.py clean for duckdb Failed to build duckdb ERROR: Failed to build installable wheels for some pyproject.toml based projects (duckdb)
enter image description here when I use pandasai
I am having problem with install pandasai, i have tried conda install, remove and re-install. link: https://invoice-reader-llm-1.streamlit.app/
duckdb/extension/jemalloc/jemalloc/include\jemalloc/internal/jemalloc_internal_macros.h(36): warning C4005: 'restrict': macro redefinition
duckdb/extension/jemalloc/jemalloc/include\jemalloc/internal/jemalloc_internal_decls.h(87): note: see previous definition of 'restrict'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.43.34808\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for duckdb Running setup.py clean for duckdb Failed to build duckdb ERROR: Failed to build installable wheels for some pyproject.toml based projects (duckdb)
enter image description here when I use pandasai
Share Improve this question edited Mar 22 at 13:30 Hitesh asked Mar 22 at 13:29 HiteshHitesh 11 bronze badge1 Answer
Reset to default 0The issue is not with pandasai; DuckDB failed to build. You can check this error in the DuckDB repository.
https://github/duckdb/duckdb/issues/9301
And the solution is provided there
pip install duckdb --pre --upgrade