Comments (9)
Ah, ok you just wanted to confirm that you have the same issue with 3.12.
Yes, we will try to address this with the next 0.12 release to be compatible with 3.12
from dowhy.
Running from dowhy import gcm
results in the following error in Python 3.12:
ModuleNotFoundError: No module named 'numpy.distutils'
Likely caused by numpy.distutils
's removal in Python >= 3.12.
See https://numpy.org/doc/stable/reference/distutils_status_migration.html
from dowhy.
@bloebp can you take a look? We can aim to do a release that supports 3.12
from dowhy.
Some of the requirements are (or were) not supporting Python 3.12, that's why we excluded it in the last release. However, that might have changed in the mean time and should be checked again. We can certainly aim at a new release and also deprecate 3.8 support.
from dowhy.
Is your feature request related to a problem? Please describe. Would like to use dowhy in a Python 3.12 project.
Describe the solution you'd like
- Python 3.12 support
There is also another error for me when try do the same:
ModuleNotFoundError: No module named 'numpy.dual'
I also found that my case has been reported as a bug in issue #1181.
from dowhy.
@dimoibiehg can you double check the installed DoWhy version (e.g., print(dowhy.__version__)
). This dual
issue has been solved in a later version, I suspect you have 0.8 installed.
from dowhy.
@dimoibiehg can you double check the installed DoWhy version (e.g.,
print(dowhy.__version__)
). Thisdual
issue has been solved in a later version, I suspect you have 0.8 installed.
The result of this command is 0.8
.
from dowhy.
The current version is 0.11.1, maybe try updating DoWhy. Note that you need a Python version below 3.12, so, e.g., 3.11
from dowhy.
The current version is 0.11.1, maybe try updating DoWhy. Note that you need a Python version below 3.12, so, e.g., 3.11
Thanks for the suggestion. However, I reported the error in this issue. What I meant is that when using Python 3.12, you will get this error as well.
from dowhy.
Related Issues (20)
- 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 4
- 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 5
- Can you provide code demo for each function? HOT 2
- How is propensity score matching implemented? HOT 2
- Interpreting mean while using logistic regression to estimate causal effect. HOT 1
- model.estimate_effect and model.refute_astimate throws 'A column-vector y was passed ...' error
- RuntimeWarning: divide by zero encountered in divide when using evaluate_causal_model HOT 3
- Auto assign_causal_mechanisms is taking so much time in gcm HOT 11
- falsify_graph HOT 8
- Remove use of CausalModel from test files and notebooks
- Is there a way to work with a structural causal model where nodes have multiple values? For use in root cause analysis. HOT 8
- graph should be directed acyclic HOT 1
- dowhy replication issue and output discrepancy with statsmodels
- how to show summary stats (R squared, p value, F stat) from causal estimate
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.