I am trying to import pmdarima, but it gives the error ValueError: numpy.dtype size changed, which may indicate binary incompatibility. Expected 96 from the C header, got 88 from PyObject
I uninstalled Numpy version 2.0+ and installed Numpy version 1.26.4, but it still gives me the same error.
I was able to solve the pmdarima problem in google colab. use two code cells for installations
import os
# INstalacion de la correcta version de numpy para funcionar con pmdarima
!pip install numpy==1.26.4 --quiet
# Reiniciamos la sesion de google colab
os.kill(os.getpid(), 9)
# Instalamos pmdarima
!pip install pmdarima --quiet
Finally show the installed versions
# Cargamos el modulo numpy y mostramos la version instalada
import numpy as np
print(" ===> Version de NUMPY : ", np.__version__)
# Cargamos el modulo pmdarima y mostramos la version instalada
import pmdarima as pm
print(" ===> Version de PMDARIMA : ", pm.__version__)
The installed versions would be:
===> Version de NUMPY : 1.26.4
===> Version de PMDARIMA : 2.0.4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With