>>> import matplotlib
Traceback (most recent call last):
File \"\", line 1, in
File \"/usr/local/lib/python2.7/dist-packages
just sharing my experience, I was trying to run Python code (2.7) making use of matplotlib. The code is running inside a docker container based on a Debian 10 image.
In the end I based the solution on the answers here, but there was a small caveat. I had to do the actions in the following order:
The code on the dockerfile is as it follows:
RUN pip2 install -r requirements.txt
RUN pip2 install matplotlib
RUN pip2 install arrow
RUN pip2 uninstall -y backports.functools_lru_cache
RUN pip2 install backports.functools_lru_cache==1.2.1
You can find the whole project on github: https://github.com/n3if/irassh.git