Description of problem: Pandas is not working with stock Python. How reproducible: Steps to Reproduce: 1. install python3-pandas 2. launch python (currently 3.9.5) 3. >>> import pandas as pd Actual results: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.9/site-packages/pandas/__init__.py", line 29, in <module> from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib File "/usr/lib64/python3.9/site-packages/pandas/_libs/__init__.py", line 13, in <module> from pandas._libs.interval import Interval File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject Expected results: No error.
package version: 1.2.1-2
Hi! Any updates on this?
I will trigger a rebuild of the package. I think it will be enough
Well, I think I can upgrade to 1.3 instead
I have tested in a F34 machine and it works for me. Could you update and post the result of rpm -q python3-numpy rpm -q python3-pandas python -VV python -c "import numpy;print(numpy.__version__)" Thanks
~ $ rpm -q python3-numpy python3-numpy-1.20.1-1.fc34.x86_64 ~ $ rpm -q python3-pandas python3-pandas-1.2.1-2.fc34.x86_64 ~ $ python -VV Python 3.9.6 (default, Jul 16 2021, 00:00:00) [GCC 11.1.1 20210531 (Red Hat 11.1.1-3)] ~ $ python -c "import numpy;print(numpy.__version__)" 1.19.5
Thanks to Sergio (comment on bug #1980608), now I realized that so far I used local cache instead of system package. There is no problem now, I'm sorry for messing things.