Closed ras44 closed 7 months ago
Describe the bug Running pytest -vs \tests\ -cov \causalml\ fails on windows within a conda env that is set up following README.md
pytest -vs \tests\ -cov \causalml\
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:
pytest -vs .\tests\ -cov .\causalml\
ModuleNotFoundError: No module named 'causalml.inference.tree._tree._tree'
Expected behavior successful tests
Screenshots
Environment (please complete the following information):
Additional context N/A
closing as this now runs without failing, but unsure what fixed it:
Describe the bug Running
pytest -vs \tests\ -cov \causalml\
fails on windows within a conda env that is set up followingREADME.md
To Reproduce Follow installation instructions in
README.md
on windows in a conda environment working in anaconda powershell prompt, ie:then run
pytest -vs .\tests\ -cov .\causalml\
and receive an error:Expected behavior successful tests
Screenshots![image](https://github.com/uber/causalml/assets/9282281/551459d8-bf63-44f1-b180-2f3ae04683bb)
Environment (please complete the following information):
Additional context N/A