Mac OSX: OSError: MoviePy Error missing magick font

Created:

The error:

When you try to render a clip using moviepy and you get the following error:

OSError: MoviePy Error: creation of None failed because of the following error:

convert: unable to read font `Courier' @ warning/annotate.c/RenderType/960.
convert: unable to read font `Courier' @ error/annotate.c/RenderFreetype/1391.
convert: unable to read font `Courier' @ warning/annotate.c/RenderType/960.
convert: unable to read font `Courier' @ error/annotate.c/RenderFreetype/1391.
convert: unable to read font `Courier' @ warning/annotate.c/RenderType/960.
convert: unable to read font `Courier' @ error/annotate.c/RenderFreetype/1391.
convert: no images defined `PNG32:/var/folders/1f/pdmszzls4xs6px9gmf627ng40000gn/T/tmpset9ocun.png' @ error/convert.c/ConvertImageCommand/3273.
.```

# Solution

Install Ghostscript using brew to have all the required fonts:

brew install ghostscript


You can verify using the command `convert` to list all the available fonts:

convert -list font ```