Open nashafa opened 5 months ago
Hi,
This issue may take a while to solve. The workaround is by downgrading the numpy version to 1.26.4 (and I have pandas 2.2.2, seems to work for me).
I appreciate the bug report and workaround! Looks like we need to be building against numpy 2.0. We'll work on this as time allows with day jobs. As always we are open to PRs!
Hi,
This issue may take a while to solve. The workaround is by downgrading the numpy version to 1.26.4 (and I have pandas 2.2.2, seems to work for me).
Yeah, I have done the same thing and it seems to work. but I find it useful to delete pip caches pip cache purge
before installing the new version of numpy
thanks
I uninstalled numpy, purged the cache, and pip install numpy==1.26.4
I'm still getting ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
from import pmdarima as pm
Downgrading Numpy to numpy<2
on Python 3.12 worked here.
I just want to add that this is blocking support for Python 3.13. NumPy 1.26.4 limits support to Python<3.13. Support for Python 3.13 is added in NumPy 2.1.0.
Hi all, we at Darts are also looking now into adding support for numpy>=2.0.0
. Since pmdarima
is one of our dependencies, I wanted to ask whether you plan to add support in the near future?
Hey everyone, thanks for using pmdarima
. I realize this has been open for some time, and has been a bit of a thorn in the side for everyone.
It's not a good excuse, but I have been very busy with my day job and (young) family lately. I'm going to commit to carve out some time for this as soon as possible. Hope to get this out for everyone soon. Thanks for your patience to date.
Describe the bug
Changes to numpy in v2.0.0 break the current version of pmdarima. Numpy 2.0 has significant breaking changes to its internal API, some of which are documented in their release notes.
To Reproduce
Install pmdarima without pinning numpy (i.e. install pmdarima with numpy>=2.0.0). Import pmdarima.
Versions
Expected Behavior
Pmdarima should import and run as normal.
Actual Behavior
Pmdarima does not import.
Additional Context
I'm not too familiar with the inner workings or development of pmdarima or numpy. Please let me know if there's any further information I can provide or if there's something specific I can look into to fix any potential issues.