uber / causalml

Uplift modeling and causal inference with machine learning algorithms
Other
4.87k stars 756 forks source link

Installation error on Databrick Cluster #740

Closed MZhangNan closed 4 months ago

MZhangNan commented 4 months ago

Describe the bug When I try to use pip install causalml on my personal cluster on databrick, it runs into error related to "Error compiling Cython file". I have tried to install Cython and all the required packages listed in the document, but, still encounter the same error.

Screenshots

image

Environment (please complete the following information):

arihant-angelone commented 4 months ago

Hey @MZhangNan,

I was also facing error installing causalml with Databricks runtime version 14.3 LTS ML. I changed my cluster DBR to 12.2 LTS ML and it was successfully installed.

  1. %pip install causalml
  2. dbutils.library.restartPython()
  3. import casualml
MZhangNan commented 4 months ago

Hi, @arihant-angelone Thanks!! I followed your suggestion and the issue is resolved!!