Matplotlib is broken in Humble image, probably others
glpuga opened this issue · 1 comments
Bug description
When trying ot run the benchmarking scripts to plot data, this error happens:
This is a reported issue in Matplotlib: matplotlib/matplotlib#26827
It's important to notice that this issue should affect matplotlib 3.8.0. While the official Ubuntu python3-package
that is the declared dependency of beluga_benchmark
installs 3.5.1, a second installation of matplotlib is added to the system through pip when installing evo==1.21.0
in the docker file, which brings matplotlib==3.8.0
.
As of now, the only workaround this to manually do:
sudo pip3 install matplotlib==3.7.3
Platform (please complete the following information):
- OS: Development docker for Humble
Beluga
version: 3144527
How to reproduce
List steps to reproduce the issue:
- Start the Humble docker container
- Start a python3 terminal
- Type
import matplotlib.pyplot as plt
Expected behavior
No error output.
Actual behavior
The error output shown above is printed.
a second installation of matplotlib is added to the system through pip when installing evo==1.21.0 in the docker file, which brings matplotlib==3.8.0.
For the time being, let's just peg matplotlib
to ~3.7.0
in that same Dockerfile and move on.