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
A module that was compiled using NumPy 1.x cannot be run inNumPy 2.1.0 as it may crash. To support both 1.x and 2.xversions of NumPy, modules must be compiled with NumPy 2.0.Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.If you are a user of the module, the easiest solution will be todowngrade to 'numpy<2' or try to upgrade the affected module.We expect that some modules will need time to support NumPy 2.Traceback (most recent call last): File "<stdin>", line 1, in <module> File "env/lib/python3.10/site-packages/pandas/__init__.py", line 26, in <module> from pandas.compat import ( File "env/lib/python3.10/site-packages/pandas/compat/__init__.py", line 27, in <module> from pandas.compat.pyarrow import ( File "env/lib/python3.10/site-packages/pandas/compat/pyarrow.py", line 8, in <module> import pyarrow as pa File "env/lib/python3.10/site-packages/pyarrow/__init__.py", line 65, in <module> import pyarrow.lib as _libAttributeError: _ARRAY_API not foundA module that was compiled using NumPy 1.x cannot be run inNumPy 2.1.0 as it may crash. To support both 1.x and 2.xversions of NumPy, modules must be compiled with NumPy 2.0.Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.If you are a user of the module, the easiest solution will be todowngrade to 'numpy<2' or try to upgrade the affected module.We expect that some modules will need time to support NumPy 2.Traceback (most recent call last): File "<stdin>", line 1, in <module> File "env/lib/python3.10/site-packages/pandas/__init__.py", line 49, in <module> from pandas.core.api import ( File "env/lib/python3.10/site-packages/pandas/core/api.py", line 9, in <module> from pandas.core.dtypes.dtypes import ( File "env/lib/python3.10/site-packages/pandas/core/dtypes/dtypes.py", line 24, in <module> from pandas._libs import ( File "env/lib/python3.10/site-packages/pyarrow/__init__.py", line 65, in <module> import pyarrow.lib as _libAttributeError: _ARRAY_API not found
I found this error triggered when importing pandas due to pyarrow. I resolved the issue by updating pyarrow, but then pip complained:
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.teehr 0.3.28 requires pyarrow<15.0.0,>=14.0.1, but you have pyarrow 17.0.0 which is incompatible.
teehr appears to work normally with pyarrow 17.0.0
The text was updated successfully, but these errors were encountered:
To duplicate:
Then import teehr
I found this error triggered when importing
pandas
due topyarrow
. I resolved the issue by updatingpyarrow
, but thenpip
complained:teehr
appears to work normally withpyarrow 17.0.0
The text was updated successfully, but these errors were encountered: