WillianFuks / tfcausalimpact

Python Causal Impact Implementation Based on Google's R Package. Built using TensorFlow Probability.
Apache License 2.0
600 stars 72 forks source link

Error running Casual Impact #16

Closed dariocorral closed 3 years ago

dariocorral commented 3 years ago

_

File "C:....\Anaconda3\envs\tf_py3.8\lib\site-packages\causalimpact\model.py", line 229, in build_bijector bijector = SquareRootBijector()

File "C:...\Anaconda3\envs\tf_py3.8\lib\site-packages\causalimpact\model.py", line 467, in init super().init(

TypeError: init() got an unexpected keyword argument 'parameters'

Thanks. This error comes from running the first example & data. Thanks in advance

WillianFuks commented 3 years ago

Hi @dariocorral ,

Not sure what's happening. Could you please send the results of your pip freeze?

As it seems looks like this is some package version incompatibility going on.

dariocorral commented 3 years ago

Hi @WillianFuks

Yes, it was a package version incompatibility . I've created a new Conda environment and now it's working. Thanks a lot.