2

Getting error

module 'pyramid' has no attribute '__version__'

Error:

enter image description here

stepwise_model = auto_arima(palm_price_ts, start_p=1, start_q=1,
                       max_p=3, max_q=3, m=12,
                       start_P=0, seasonal=True,
                       d=1, D=1, trace=True,
                       error_action='ignore',  
                       suppress_warnings=True, 
                       stepwise=False)
Dawny33
  • 10,543
  • 21
  • 82
  • 134
Hillol D
  • 49
  • 2
  • 6
  • It sounds like you may have messed up your [pyramid](https://github.com/tgsmith61591/pyramid/tree/master) install, perhaps by accidentally getting it mashed together with the [other project calling itself pyramid](https://github.com/Pylons/pyramid). – user2357112 Oct 24 '18 at 19:29
  • I am currently experiencing this exact error, but at any rate, despite the uninformative format of this question, it would be nice if a solution to similarly messed up installs would be proposed by someone. – Coolio2654 Oct 25 '18 at 17:07

2 Answers2

2

As someone that has just experienced this after installing pyramid first, via pip, instead of pyramid-arima, the solution is just to uninstall both and only install one of them (presumably the arima-focused one).

Coolio2654
  • 1,589
  • 3
  • 21
  • 46
2

1.uninstall both pyramid and pyramid-arima 2.after that reinstall pyramid-arima 3.restart kernel

Hillol D
  • 49
  • 2
  • 6