pymc-devs / pymc-bart

https://www.pymc.io/projects/bart
Other
91 stars 18 forks source link

Installation issue on Win-10: ERROR: Failed building wheel for matplotlib #82

Open codeja3 opened 1 year ago

codeja3 commented 1 year ago

I'm trying to install pymc-bart in a conda environment created with

conda create -c conda-forge -n pymc_env "pymc>=4"

coming directly from the PyMC installation instructions. The above installs pymc 5.3.1 and matplotlib 3.7.1.

Running pip install pymc-bart throws an error

image

I think it fails to downgrade matplotlib to version 3.5.2. Manual downgrade of matplotlib doesn't do the trick either.

I can install pymc-bart if I fix the pymc version to 4.1.1 during creation of the environment conda create -c conda-forge -n pymc_env "pymc=4.1.1" and then pip install pymc-bart.

Interestingly, installation of pymc-bart 0.4.0 upgrades pymc to 5.3.1 while keeping matplotlib at 3.5.2.

aloctavodia commented 1 year ago

thanks for taking the time to report this issue. I am not able to reproduce it. pip install pymc-bart correctly downgrades matplotlib from 3.7.1 to 3.5.2