Problem in installing pymc-bart 0.9.0 package on PYMC V.5.22

Collecting pymc-bart==0.9.0
Using cached pymc_bart-0.9.0-py3-none-any.whl.metadata (4.6 kB)
Collecting pymc<=5.20.1,>=5.16.2 (from pymc-bart==0.9.0)
Using cached pymc-5.20.1-py3-none-any.whl.metadata (15 kB)
Requirement already satisfied: arviz>=0.18.0 in c:\python 317\lib\site-packages (from pymc-bart==0.9.0) (0.21.0)
Collecting numba (from pymc-bart==0.9.0)
Using cached numba-0.61.2-cp313-cp313-win_amd64.whl.metadata (2.8 kB)
Requirement already satisfied: matplotlib in c:\python 317\lib\site-packages (from pymc-bart==0.9.0) (3.10.1)
Requirement already satisfied: numpy in c:\python 317\lib\site-packages (from pymc-bart==0.9.0) (2.2.5)
Requirement already satisfied: cachetools>=4.2.1 in c:\python 317\lib\site-packages (from pymc<=5.20.1,>=5.16.2->pymc-bart==0.9.0) (5.5.2)
Requirement already satisfied: cloudpickle in c:\python 317\lib\site-packages (from pymc<=5.20.1,>=5.16.2->pymc-bart==0.9.0) (3.1.1)
Requirement already satisfied: pandas>=0.24.0 in c:\python 317\lib\site-packages (from pymc<=5.20.1,>=5.16.2->pymc-bart==0.9.0) (2.2.3)
INFO: pip is looking at multiple versions of pymc to determine which version is compatible with other requirements. This could take a while.
Collecting pymc<=5.20.1,>=5.16.2 (from pymc-bart==0.9.0)
Using cached pymc-5.20.0-py3-none-any.whl.metadata (15 kB)
Using cached pymc-5.19.1-py3-none-any.whl.metadata (15 kB)
Using cached pymc-5.19.0-py3-none-any.whl.metadata (15 kB)
Using cached pymc-5.18.2-py3-none-any.whl.metadata (15 kB)
Using cached pymc-5.18.1-py3-none-any.whl.metadata (15 kB)
Using cached pymc-5.18.0-py3-none-any.whl.metadata (15 kB)
Using cached pymc-5.17.0-py3-none-any.whl.metadata (15 kB)
INFO: pip is still looking at multiple versions of pymc to determine which version is compatible with other requirements. This could take a while.
Using cached pymc-5.16.2-py3-none-any.whl.metadata (15 kB)

The conflict is caused by:
pymc 5.20.1 depends on pytensor<2.28 and >=2.26.1
pymc 5.20.0 depends on pytensor<2.27 and >=2.26.1
pymc 5.19.1 depends on pytensor<2.27 and >=2.26.1
pymc 5.19.0 depends on pytensor<2.27 and >=2.26.1
pymc 5.18.2 depends on pytensor<2.27 and >=2.26.1
pymc 5.18.1 depends on pytensor<2.27 and >=2.26.1
pymc 5.18.0 depends on pytensor<2.26 and >=2.25.1
pymc 5.17.0 depends on pytensor<2.26 and >=2.25.1
pymc 5.16.2 depends on pytensor<2.26 and >=2.25.1

To fix this you could try to:

  1. loosen the range of package versions you’ve specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: Cannot install pymc-bart because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit Dependency Resolution - pip documentation v25.2.dev0

Hi
I am trying to install Bart 0.9 package but getting this error that I think are related to pytensor.
Need suggestions

According to the messages Bart requires PyMC < 5.20

Thanks… I am now able to work but I have to downgrade…
Python 3.11
Pytensor 2.26.4
Pymc 5.15.1
Pymc-Bart 0.6.

Thanks for guiding

CC @aloctavodia can we lift the pin?

Done it! @Saurav_Rukhaiyar The last version of pymc-bart (0.9.1) is available from pypi, and soon it will also be available from conda-forge.

Hi…

Thanks for the help. However while running the code as in “Modeling Heteroscedasticity with BART — PyMC-BART”, I have observed very slow sampling i.e. at 10s/draw taking as much as 8 hrs.

I have not observed such slow sampling previously but now all models are sampling very slowly.
Suggestions will be appreciated