mljar-supervised icon indicating copy to clipboard operation
mljar-supervised copied to clipboard

Provided docker example crashes on "Basic usage" script due to missing fonts

Open elmccd opened this issue 2 years ago • 1 comments

Running Dockerfile and Python script provided on https://supervised.mljar.com/ crashes due to missing fonts (?):

screenshot_101

I managed to get around it by changing base python image to:

FROM python:3.7

Probably could be fixed better.

elmccd avatar Jan 29 '23 19:01 elmccd

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

yairVanti avatar Jan 30 '23 06:01 yairVanti