2

I am doing some timeseries forecasting, while at it I am trying to import auto_arima using pyramid but it throws an Module not found error as - ''No module named 'pyramid.arima'

from pyramid.arima import auto_arima

I also tried importing auto_arima from pmdarima :

from pmdarima.arima import auto_arima

but this throws an error as - "type object 'pmdarima.arima._arima.array' has no attribute 'reduce_cython'"

What am I doing wrong?...

Steve Piercy
  • 13,693
  • 1
  • 44
  • 57
boredaf
  • 98
  • 1
  • 8

1 Answers1

1

I'm using pmdarima package without any issues, but your error is highly probably related to your numpy version. I would recommend to you to upgrade it (in case you use pip):

pip install --upgrade numpy

You can also try to import numpy package before importing auto_arima (some people experience strange behavior).

You can follow discussion on github issues - https://github.com/tgsmith61591/pmdarima/issues/91 (similar here or here). You're definitely not the first one with that issue.

If it doesn't help, please, paste your pmdarima and numpy versions.

Nerxis
  • 3,452
  • 2
  • 23
  • 39