intive-DataScience / tbats

BATS and TBATS forecasting methods
MIT License
178 stars 19 forks source link

Serious dependency issues with this library, not sure what to do #5

Closed srivas53 closed 5 years ago

cotterpl commented 5 years ago

It would be great to have some description. What errors are you seeing?

srivas53 commented 5 years ago

Thanks for getting back to me! Yes, the error is:

AttributeError: type object 'pmdarima.arima._arima.array' has no attribute '__reduce_cython__' I figured that it may be because of incompatible Cython or pmdarima versions, I checked the stable_reqs.txt, and upgraded/downgraded the libraries, and yet I cannot seem to get rid of this error. Any help will be appreciated

srivas53 commented 5 years ago

@cotterpl Any suggestions will be appreciated, as I am currently doing a project with a hard deadline, and TBATS can be really helpful

cotterpl commented 5 years ago

It looks to be an internal issue with pmdarima and cython packages. This comment may be helpful: https://github.com/cython/cython/issues/1953#issuecomment-398128940 . I am unable to solve this for you as it is an low level issue not directly related to TBATS. I would try upgrading pmdarima to latest version. You may also try to setup a new environment from scratch.

cotterpl commented 5 years ago

Try also upgrading these numpy, scipy, scikit-learn, pandas, statsmodels

cotterpl commented 5 years ago

Closing as this looks to be an issue in dependent packages configurations