mljar-supervised
mljar-supervised copied to clipboard
Provided docker example crashes on "Basic usage" script due to missing fonts
Running Dockerfile and Python script provided on https://supervised.mljar.com/ crashes due to missing fonts (?):
I managed to get around it by changing base python image to:
FROM python:3.7
Probably could be fixed better.
this issue arise because of lacking in fonts in the installed machine. you can install it on the docker with :
RUN apt-get update &&
apt-get install -y wget
fontconfig &&
wget http://ftp.br.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb &&
apt --fix-broken install -y ./ttf-mscorefonts-installer_3.6_all.deb &&
rm ttf-mscorefonts-installer_3.6_all.deb &&
fc-cache -f -v
worked for me with: FROM python:3.9.16-slim-bullseye