uber / causalml

Uplift modeling and causal inference with machine learning algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`pytest -vs \tests\ -cov \causalml\` fails on windows

ras44 opened this issue · comments

Describe the bug
Running pytest -vs \tests\ -cov \causalml\ fails on windows within a conda env that is set up following README.md

To Reproduce
Follow installation instructions in README.md on windows in a conda environment working in anaconda powershell prompt, ie:

git clone https://github.com/uber/causalml.git
cd causalml
pip install .
python setup.py build_ext --inplace

then run pytest -vs .\tests\ -cov .\causalml\ and receive an error:

 ModuleNotFoundError: No module named 'causalml.inference.tree._tree._tree'

Expected behavior
successful tests

Screenshots
image

Environment (please complete the following information):

  • OS: [Windows]
  • Python Version: [3.6, 3.7, 3.8]

Additional context
N/A

closing as this now runs without failing, but unsure what fixed it:

image