lightweight_mmm
lightweight_mmm copied to clipboard
Unable to install package - ERROR: Failed building wheel for matplotlib
I've tried within Windows using a new, clean Conda environment, and within WSL Ubuntu 22.04 using both venv- and conda-created "empty" and default environments.
In each case, the installer downloads a load of packages, but errors with the titular message each time. This is both with the standard package, and the github latest version.
ERROR: Failed building wheel for matplotlib
Reading back up the text; there is this:
GNU make (>= 3.80) or makepp (>= 1.19) is required to build FreeType2. Please try MAKE=<GNU make command name> ./configure or MAKE="makepp --norc-substitution" ./configure
Do I need to install something else first?
I'm encountering the same, regardless of whether base or venv, on Mac silicon. Always fails at building wheel for Matplotlib. Any help would be much appreciated!
For what it's worth, @Jon77Ruler , it appears that downgrading to Python 3.9.21 did the trick for me. All requirements installed and imported fine.
@judecalvillo Thank you very much! Using this version allowed successful installation. I then had to sort out version discrepancies for several other packages, but I've got it running.
I also came across this thread (https://github.com/google/lightweight_mmm/issues/321) where at the bottom (post Oct 28, 2024) it looks like someone had succeeded in pairing package versions for later python versions too.