You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After using 'pip install pandasai', import pandasai in python send me back error. I tried python 3.9, 3.10. 3.11 and 3.12. Same error.
Also, can't join the discord group through the link provided.
here is the error message:
import pandasai
Traceback (most recent call last):
File "", line 1, in
File "/opt/miniconda3/envs/myenv2/lib/python3.11/site-packages/pandasai/init.py", line 6, in
from pandasai.smart_dataframe import SmartDataframe
File "/opt/miniconda3/envs/myenv2/lib/python3.11/site-packages/pandasai/smart_dataframe/init.py", line 26, in
import pandasai.pandas as pd
File "/opt/miniconda3/envs/myenv2/lib/python3.11/site-packages/pandasai/pandas/init.py", line 13, in
from pandas import *
File "/opt/miniconda3/envs/myenv2/lib/python3.11/site-packages/pandas/init.py", line 22, in
from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/myenv2/lib/python3.11/site-packages/pandas/compat/init.py", line 18, in
from pandas.compat.numpy import (
File "/opt/miniconda3/envs/myenv2/lib/python3.11/site-packages/pandas/compat/numpy/init.py", line 4, in
from pandas.util.version import Version
File "/opt/miniconda3/envs/myenv2/lib/python3.11/site-packages/pandas/util/init.py", line 2, in
from pandas.util._decorators import ( # noqa:F401
File "/opt/miniconda3/envs/myenv2/lib/python3.11/site-packages/pandas/util/_decorators.py", line 14, in
from pandas._libs.properties import cache_readonly
File "/opt/miniconda3/envs/myenv2/lib/python3.11/site-packages/pandas/_libs/init.py", line 13, in
from pandas._libs.interval import Interval
File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
The text was updated successfully, but these errors were encountered:
Hey @ninalty! I'm here to help you with any bugs, questions, or contribute to the project. Let's figure this out together!
The error you're encountering is related to a binary incompatibility issue between numpy and pandas. A similar issue was reported, and the suggested solution is to downgrade numpy to version 1.26.4. You can do this by running the following command:
pip install numpy==1.26.4 pyyaml
This should resolve the binary incompatibility issue you're facing [1].
Regarding the Discord link issue, I wasn't able to find any specific information about known issues with the Discord link in the documentation. It might be worth checking if there are any updates or alternative links provided elsewhere.
Path: /intro
After using 'pip install pandasai', import pandasai in python send me back error. I tried python 3.9, 3.10. 3.11 and 3.12. Same error.
Also, can't join the discord group through the link provided.
here is the error message:
The text was updated successfully, but these errors were encountered: