Closed julienmalard closed 6 months ago
Can you verify if you are using an Apple Silicon chip (M1, M2 or M3)?
No, I’m using an older Mac from 2018.
Hi @julienmalard, it looks like there was an issue with the install based on the message "WARNING: Package(s) not found: openbtmixing"
What happens if you run "pip install openbtmixing"? The wheel should download and automatically install the required libraries.
In that case, is there any reason not to inclure openbtmixing as a project dependency in the project.toml file?
The openbtmixing
is listed in the pyproject.toml dependencies. Maybe a pip install Taweret --upgrade
will pull down the missing package, but I just tried a clean install in CodeSpaces and it pulled down the openbtmixing
dependency
Hello,
I tried again - the openbtmixing errors are due to the missing openbtmixing dependency.
However, I also get AttributeError: 'Trees' object has no attribute '_posterior'. Did you mean: 'posterior'?
. Is this also related to the missing dependency? If so, feel free to close this issue.
Yes - this is exactly related to the missing dependency. The openbtmixing software is used in the Trees class. Despite this, the test_trees.py file is still run with the other pytests. Without the dependency, the model never trains on the test problem, so when you try to access the results stored in "_posterior", there is simply nothing there.
Ok, perfect then!
I get some failing tests with
pdm run pytest
on MacOS: