Set the MPLCONFIGDIR environment variable to a writable directory

Tell us what’s happening:
that’s the error i’m getting on the repl console. i have installed matplotlib already. can someone help me how to set this? thank you and have a good day.

Your code so far

Matplotlib created a temporary config/cache directory at /tmp/matplotlib-0o06nl7n because the default path (/config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36.

Challenge: Medical Data Visualizer

Link to the challenge:

i finished this already. thanks.

pls share the solution. I am stuck with the same issue and not able to proceed.

how can we help u if we diden’t see your work ?


i don’t remember how i fixed this. i think i installed a different version of matplotlib on repl. sorry i just read this today and i can’t be of any help.