-
Notifications
You must be signed in to change notification settings - Fork 785
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
Installing v0.14.0 #703
Comments
It's rather a complex issue caused by a series of dependencies among Is there any reason why you need to use the previous version? |
Hi, @sstaszak, it is better to install the recent version or even to install the package from the main branch of the source code. In case if you really need the previous version to be installed for some reason, you can do the following:
|
Yes! We need the previous version due to an issue with v0.14.1 being incompatible with our current model. |
This is very helpful thank you! What if we want the option to install with TF because we are needing DragonNet |
In this case run |
@alexander-pv I still seem to be running into the cython issue even when I clone the source code of v0.14.0, set the upper bounds, and build from source:
|
@sstaszak, please, try to install from source using clear python environment. I've just tested package building with freshly created python3.9 env. Everything works as expected. It seems that some package reinstalls Cython at the final stage of causalml installation. You can also use whl from this archive: causalml-0.14.0-cp39-cp39-linux_x86_64.zip |
I'm trying to install causalml using pip. but i received the status error 2; ERROR: Command errored out with exit status 2 |
Hi, @ImanEmtiazi728, could you please provide more details about the error. |
I use !pip install causalml to install causalml. but i received the below error ERROR: Exception: |
i applied all the ways in https://github.com/uber/causalml/blob/master/docs/installation.rst |
Hi Alexander,
Could you help me with the problem I encountered installing causalml?
…On Thu, Dec 21, 2023 at 11:21 AM Alexander Popkov ***@***.***> wrote:
I'm trying to install causalml using pip. but i received the status error
2;
ERROR: Command errored out with exit status 2
Hi, @ImanEmtiazi728 <https://github.com/ImanEmtiazi728>, could you please
provide more details about the error.
—
Reply to this email directly, view it on GitHub
<#703 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXFMWKBVY7YMS24RLJLDWB3YKPS77AVCNFSM6AAAAAA7E26XNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVHAYDSNJYGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The issue has no relations to causalml library. It is a networking problem with pip/urllib3. Related pip thread: pypa/pip#9972 |
I applied many commands, but none of them have worked up to now. the below commands; pip3 install --no-cache-dir causalml pip download --no-cache-dir --no-deps causalml pip install --no-cache-dir --index-url=https://pypi.org/simple/ --trusted-host=pypi.org causalml pip cache purge |
when I applied the below command: I received the below error: error: subprocess-exited-with-error × git clone --filter=blob:none --quiet https://github.com/uber/causalml 'C:\Users\Iman\AppData\Local\Temp\pip-install-e6wu5yao\causalml_f361080b3a7c4c87b7c278ea2188376c' did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × git clone --filter=blob:none --quiet https://github.com/uber/causalml 'C:\Users\Iman\AppData\Local\Temp\pip-install-e6wu5yao\causalml_f361080b3a7c4c87b7c278ea2188376c' did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
I will close this issue for now as I believe this issue should have been fixed in the recent releases. Please feel free to open a new issue if you still experience it with the latest version. |
Describe the bug
I am unable to install v0.14.0 due to errors with Cython:
Error compiling Cython file:
causalml/inference/tree/causal/_builder.pyx:61:56: Cannot assign type 'double' to 'int'
To Reproduce
Steps to reproduce the behavior:
pip install causalml==0.14.0
Environment (please complete the following information):
cython==0.28
Is there a better way to install a previous version? Also is there a way to install with tensorflow a previous version?
The text was updated successfully, but these errors were encountered: