-
Notifications
You must be signed in to change notification settings - Fork 924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to install dowhy with Python 3.8.3 as an Anaconda distro. #197
Comments
Sorry about this @Ackbach . I'm less experienced with conda. Let me check into this and update the conda package. This is probably due to some version conflicts, as you mention. I hope the pip command works for you. That is better-tested on different versions so far. |
@Ackbach I did some exploration today. Were you facing "Solving Environment issues"? Here are two suggestions to fix this error:
The second solution worked for me in multiple environments. If none of these work, let me know and I'll continue to work on improving the conda package. |
Hi - I get this error even after conda config --set channel_priority false. (base) ~/Source/detr master ● source activate py35 UnsatisfiableError: The following specifications were found to be incompatible with each other: Output in format: Requested package -> Available versions |
Oh, I see. Looks like there there are more incompatibilities with Python 35/conda. Can you share the full output of the specifications/version numbers that are found to be incompatible @bdutta19? |
These are the packages that failed.. I could install with Python 3.8.5 Specifications:
Your python: python=3.5
Your python: python=3.5 Specifications:
Your python: python=3.5 |
Thanks @bdutta19. I tried a fresh environment using conda and can report that DoWhy successfully installs using
|
DoWhy (now PyWhy) should have a "DoInstall" package. I have many of the above problems, none of the pip or conda recommendations work. It's too bad, DoWhy seems like a good causal inference toolkit, except I can't install it. |
pip usually works well. Can you share the error you obtain while installing with pip? I'd suggest starting with a new virtual environment, if you haven't already. |
Amit:
In the Anaconda 3 cmd.exe terminal "pip install dowhy" successfully
installed DoWhy version 0.7.1 and PyDot 1.4.2.
Thanks for your help.
…On Fri, Jun 10, 2022 at 1:11 AM Amit Sharma ***@***.***> wrote:
pip usually works well. Can you share the error you obtain while
installing with pip? I'd suggest starting with a new virtual environment,
if you haven't already.
—
Reply to this email directly, view it on GitHub
<#197 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZSB2FKVJOR5S2FE3E3XK5DVOLE6JANCNFSM4UBNYRYQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
After some effort I was able to download dowhy. But once I try to use it ("from dowhy import CausalModel") I get "ValueError: Only callable can be used as callback". What do I do next? |
Hi @LeeBuchanan , could you tell us more about your environment? "pip install dowhy" usually works well. What version of python and dowhy do you have now? |
I have a fresh install of Anaconda with Python 3.8.3, but I am not able to install with the conda command; I get conflicts that conda is not able to resolve. This is not the first time I've had significant difficulty in installing dowhy. Can installation be made easier? Perhaps more checking of package versions, for greater compatibility?
Do I just install with the pip command?
The text was updated successfully, but these errors were encountered: