Git Product home page Git Product logo

Comments (8)

amit-sharma avatar amit-sharma commented on June 11, 2024

I tried this and am unable to reproduce--seems to work on my setup. Can you share your python version/system details?

from dowhy.

steunenberg avatar steunenberg commented on June 11, 2024

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.

akelleh avatar akelleh commented on June 11, 2024

can't recreate on my ubuntu 18.04 setup. can you make sure you're up to date with master?

from dowhy.

steunenberg avatar steunenberg commented on June 11, 2024

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.

amit-sharma avatar amit-sharma commented on June 11, 2024

Hi @steunenberg Checking in, were you able to run it on your machine?

from dowhy.

steunenberg avatar steunenberg commented on June 11, 2024

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.

amit-sharma avatar amit-sharma commented on June 11, 2024

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.

steunenberg avatar steunenberg commented on June 11, 2024

Fixed! thank you

from dowhy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.