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

ImportError: cannot import name 'CausalImpact' from 'causalimpact' (unknown location) #20

Open Mraghuvaran opened 3 years ago

Mraghuvaran commented 3 years ago

image

WillianFuks commented 3 years ago

hi @Mraghuvaran ,

This seems to be an error related to your environment. Something may have happened during the installation process or maybe some other package is causing a naming conflict during the importation process.

Some ideas to consider is trying to create a new python virtual environment and installing the package there to see if it works. Another thing is to see what sys.path contains and if tfcausalimpact is contemplated in there.