Comments (8)
I tried this and am unable to reproduce--seems to work on my setup. Can you share your python version/system details?
from dowhy.
Python version 3.6.3 :: Anaconda custom (64-bit)
OS Ubuntu 16.04
if there is more that you need (dependencies on system libs? versions of some other programs?) I'm glad to provide that information too
from dowhy.
can't recreate on my ubuntu 18.04 setup. can you make sure you're up to date with master?
from dowhy.
Thanks for getting back to me. I still get the error but looking closer at the error message I saw that pymc3 is missing.
After installing pymc3 I got a key error about blas. blas is installed. There was also a missing environment variable, which I set and I got a lot of complaints about theano not having a compile module. So I will have a look at the dependencies again to find the reason before I continue to answer here. And maybe I'll upgrade to 18.04 first.
EDIT: running pip install -r requirements.txt says that all requirements are met.
EDIT 2: running the do_sampler_demo notebook and adding a block at the end the mcmc_sampler IS found. So something is weird in my setup and you will definitely not be able to solve this.
import dowhy.do_samplers as do_samplers
do_samplers.get_class_object("mcmc_sampler")
OUT[9]: dowhy.do_samplers.mcmc_sampler.McmcSampler
EDIT 3: when I start ipython in the dowhy troot directory, the object exists. So it seems like something is missing in setup.py and not everything is visible when I'm working in another directory. This might be something you could solve.
from dowhy.
Hi @steunenberg Checking in, were you able to run it on your machine?
from dowhy.
Hi @amit-sharma I tried to find out what was missing in setup.py but I could not find out. As mentioned above, when I'm in the dowhy root directory, the object exists. But somewhere else it does not. This seems a setup.py issue. But I must admit that I did not try that much. Half an hour seemed enough to me.
from dowhy.
Hey @steunenberg, just merged an update from @ktmud that may be a fix for this issue. It could be that a PyMC's version was creating a problem. If you get a chance, can you pull the latest master and try if it fixes the problem for you?
from dowhy.
Fixed! thank you
from dowhy.
Related Issues (20)
- conda release 0.11.1 is missing HOT 1
- File Not Found error in Jupyter Notebook when i use auto.assign_causal_mechnism HOT 8
- buggidy giggidy
- Counterfactual Reasoning with Categorical Variables HOT 3
- Time complexity of constructing cause-and-effect diagram HOT 3
- Support polars data frames HOT 2
- What is the purpose of providing observation data in gcm.conventional_samples()?
- Python 3.12 support HOT 3
- Clarify the differences among refute methods HOT 9
- Feature relevance/Influence HOT 23
- Graphviz installation : --include-path not recognized anymore HOT 4
- Does this package support non-English languages? HOT 3
- Question about Dummy Outcome Refuter HOT 2
- Inconsistency in the placebo_treatment_refuter when using estimate_effect of IV HOT 1
- numpy.dual is dropped but it still occurs in dowhy HOT 2
- NetworkXError: graph should be directed acyclic HOT 2
- Refutation & Overlap Error ("data_subset_refuter", "add_unobserved_common_cause", assess_support_and_overlap_overrule) HOT 2
- No Backdoor Path Available
- Clarification on how to use gcm properly for confounders adjustment HOT 3
- Can you provide code demo for each function? 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 dowhy.