Hi Usha,

as Matti pointed out, your pandas and numpy are not compatible. That maybe
because either one of those is not coming from where you think it is.
>From the error we know that Pandas comes from
E:\anaconda3\Lib\site-packages\pandas.
Can you do
```
import numpy as np
print(np.__file__)
```
To check where Numpy is coming from?

Best
Klaus

On Wed, Oct 2, 2024 at 2:12 PM Usha Gayatri via NumPy-Discussion <
numpy-discussion@python.org> wrote:

> I am working on a Jupyter notebook in Anaconda Navigator. I have done some
> projects in 2021, 2022,2023 and 2024. When I run my old project which was
> created in 2021. it is giving errors.I am just testing import numpy as np
> import pandas as pd
> which is giving an error.
>
> File E:\anaconda3\Lib\site-packages\pandas\_libs\interval.pyx:1, in init 
> pandas._libs.interval()
> ValueError: numpy.dtype size changed, may indicate binary incompatibility. 
> Expected 96 from C header, got 88 from PyObject.
>
>
> I did uninstall numpy, pandas and again installed. even updated anaconda.
>
> Please help me. I am unable to run any program.
>
> Thank you.
>
> Usha
>
> _______________________________________________
> NumPy-Discussion mailing list -- numpy-discussion@python.org
> To unsubscribe send an email to numpy-discussion-le...@python.org
> https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
> Member address: kzimmerm...@quansight.com
>
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to