oTree Forum >

enabling matplotlib

#1 by rianne (edited )

How can I use matplotlib on Heroku? I keep getting compilation error.

#2 by Daniel_Frey

You have to add matplotbib to requirements.txt, so that Heroku knows to install the package:

add the line mathplotbib>=a.b.c (a.b.c stands for the version you're using) and delete the line comments in the file so that oTree does not overwrite it.

Write a reply

Set forum username