Skip to content
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

binary incompatibility. Expected 352 from C header, got 328 from PyObject #581

Open
CoteDave opened this issue Nov 25, 2022 · 3 comments
Open
Labels
bug Something isn't working

Comments

@CoteDave
Copy link

image

@CoteDave CoteDave added the bug Something isn't working label Nov 25, 2022
@t-tte
Copy link
Collaborator

t-tte commented Nov 25, 2022

This seems similar to issue #495. I did some digging around and found that it could be related to the underlying Cython implementation. However, I haven't yet found a fix.

@alexander-pv
Copy link
Collaborator

alexander-pv commented Nov 28, 2022

Hi, @CoteDave,
It is highly likely that while causalml was installed with cython compiled using one version of sklearn as its dependency, you now have another one installed in your environment.
You can:

  • Switch to the correct scikit-learn version <=1.0.2.
  • Reinstall causalml with cython compilation or install the package from source. Please, make sure that scikit-learn<=1.0.2.

@LaisaLI
Copy link

LaisaLI commented Dec 5, 2022

I met the same issue when importing UpliftTreeClassifier. The sklearn version is 1.0.2

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants