-
Notifications
You must be signed in to change notification settings - Fork 99
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
Installation for Python version 3.11 #61
Comments
Hi, thanks for bringing this to my attention. conda create -n test_causallib_install_with_py311 python=3.11
conda activate test_causallib_install_with_py311
pip install causallib I get Could you please provide more details so I can try to figure out from where this incompatibility arises? |
Hi, thank you for testing it out. And good to know it is working for higher Python versions. I think the errors I am getting is part due to the firewall we have in place for installing some of the dependent packages (tried this in our existing env and a new env). I will sort this out with our IT. Just something I noticed - causallib has pandas dependency (pandas<2,>=0.25.2). Is there any plan to utilise the newer version of pandas? As our Conda environment is using pandas 2.0.3 |
Yes, the If that's the cause of your problems, there might be an annoying workaround in the meantime to manually install causallib's other dependencies (sklearn, matplotlib, etc.), and then install causallib while forcing pip not to install its dependencies: |
Pandas >2 is now officially supported, and tests pass on Python 3.11 |
Hi. I am trying to install this library in a Python 3.11 environment. I get the following error -
However, it works for Python 3.9. Are there plans to update the library to be available for Python 3.11?
Thanks.
The text was updated successfully, but these errors were encountered: