[Numpy-discussion] Re: help

2024-10-03 Thread Kevin Toronto Developer via NumPy-Discussion
Hi,

Can you check numpy version as if you try to run latest numpy with older
version, u would get error as well

..Kevin

On Wed, Oct 2, 2024 at 8:10 AM 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: nageswa...@gmail.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


[Numpy-discussion] Re: help

2024-10-03 Thread Klaus Zimmermann
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