Giter VIP home page Giter VIP logo

Comments (4)

amit-sharma avatar amit-sharma commented on July 19, 2024

Thanks for raising this. It seems that the installation went fine. I tried to reproduce the error in a new virtual environment but I do not see this error. Do you get this error right after the import statement?

Here are a few suggestions that might help in identifying the problem:

  1. I modified the readme doc to include a simple "import dowhy" statement. Does that also raise an error?
  2. Maybe it is because of Python version? I'm testing on 3.

from dowhy.

lash7 avatar lash7 commented on July 19, 2024

I have python 3 as well.

dowhyerror
It works as long as I am inside the dowhy folder. But if I import from another folder it throws ModuleNotFoundError.

Turns out the utils folder requires the __init__.py file. After adding it, I ran the install command and it worked ! Please add it to the repo.

from dowhy.

amit-sharma avatar amit-sharma commented on July 19, 2024

Ah, got it. Thanks for looking into it. I added the init.py file.

Do let me know if you face any other problems.

from dowhy.

YixinNJU avatar YixinNJU commented on July 19, 2024

I have python 3 as well.

dowhyerror It works as long as I am inside the dowhy folder. But if I import from another folder it throws ModuleNotFoundError.

Turns out the utils folder requires the __init__.py file. After adding it, I ran the install command and it worked ! Please add it to the repo.

Hi, I am wondering what did u add to 'init.py'? I encounter the same problem. I find that the 'init.py' file in utils folder is still empty. I can import the module when my .ipynb script is in utils folder, but failed outside it. 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.