Comments (8)
Hi Ainhoa,
Happy New Year to you as well :)
As for the issue you are seeing, I suspect that you are not actually using this package (tfcausalimpact
), the error message seems to reference other implementations also available for Python.
If you want to use this current repository, you can just run pip install tfcausalimpact
and then you'll have access to causal impact as implemented on top of Tensorflow Probability. If you want to keep using your current implementation of causal impact then you'll probably have to figure out which repository it refers to and ask them for help.
Let me know if this helps you.
Best,
Will
from tfcausalimpact.
Happy New Year Will,
I also seem to be having the same issue. I recently updated pandas and since then tfcausalimpact has been broken.
Exactly the same errors as Alnhoa84. I have uninstalled and reinstalled the package and removed all other existing packages with similar names, and the error persists.
Cheers,
W.
from tfcausalimpact.
Hi @wobiero ,
What is the output if you run this command?:
pip freeze | grep causalimpact
If you have the same issue than @AInhoa84 then it would indicate other package is being used instead of tfcausalimpact, the output of that command will confirm what's going on.
Best,
Will
from tfcausalimpact.
Hi @wobiero ,
What is the output if you run this command?:
pip freeze | grep causalimpact
If you have the same issue than @AInhoa84 then it would indicate other package is being used instead of tfcausalimpact, the output of that command will confirm what's going on.
Best,
Will
Hi Will,
You were right. I had some conflicts that I resolved. Working perfectly. Thanks for the great job.
Best.
W
from tfcausalimpact.
Hi @WillianFuks,
Thanks for your answer.
I have just pip installed tfcausalimpact and ran the command you mentioned:
And I still get the same errors. Should I uninstall the 1st causalimpact package? FYI, I am using your notebook https://github.com/WillianFuks/tfcausalimpact/blob/master/notebooks/getting_started.ipynb as a step-by-step guide.
Apologies as I am not an advanced Python user, but still really like this package and want to use it!
Regards,
Ainhoa
from tfcausalimpact.
Hi Ainhoa,
I suspect that indeed if you remove the first package then the notebook will process just fine. Both packages installed seems to cause conflicts when importing them.
from tfcausalimpact.
Hi Ainhoa,
I suspect that indeed if you remove the first package then the notebook will process just fine. Both packages installed seems to cause conflicts when importing them.
Hi Alnhoa,
For me the issue was that I had another causalimpact library installed. It has a similar import statement to tfcausalimpact i.e., "from causalimpact import CausalImpact".
When I ran the pip uninstall command, it wasn't getting removed. I had to physically delete the library, upgrade tensorflow and then reinstall tfcausalimpact.
Also try and install tfcausalimpact in your python root directory. That is, "python -m pip install tfcausalimpact" rather than "pip install tfcausalimpact".
Hope this helps.
W
from tfcausalimpact.
Hello,
Thanks both @WillianFuks and @wobiero it's working now! :)
Regards,
Ainhoa
from tfcausalimpact.
Related Issues (20)
- Installation HOT 3
- Add compatibility for Python 3.10 HOT 4
- 'CausalImpact' object has no attribute 'posterior_dist' HOT 2
- TypeError: ufunc 'isfinite' not supported for the input types HOT 5
- is there a way to check the coefficient of regression part ? HOT 4
- Saving Figures of the Model Output HOT 2
- AttributeError: 'NoneType' object has no attribute 'loc' HOT 4
- Understanding the results and improving the model HOT 2
- p-value is always less than 0.5 HOT 1
- How to save model ? HOT 2
- Categorical Variables HOT 2
- have an error when using customized model HOT 6
- ResourceExhaustedError HOT 1
- How to save the results HOT 2
- Support Python 3.11
- AttributeError: 'NoneType' object has no attribute 'loc' HOT 3
- how to specify which column is y HOT 2
- Question: Is it possible to extract inclusion probabilities of predictors from trained model? HOT 1
- Warnings: deprecated tensorflow features HOT 1
- Question: how to access the P-value as a variable from the model HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfcausalimpact.