Где мне найти необходимые файлы для matplotlib?Python

Программы на Python
Anonymous
Где мне найти необходимые файлы для matplotlib?

Сообщение Anonymous »


I've been attempting to run a jupyter notebook with matplotlib, but keep on encountering the error FileNotFoundError: Matplotlib's TeX implementation searched for a file named 'rm-lmr10.tfm' in your texmf tree, but could not find it. I have tried reinstalling matplotlib and even changing python installations (I am ssh'd into my company's compute cluster and there are several preinstalled), and the bug still remains.

I was wondering where and how I could find and replace this file, as the bug sprung up one day with no change to the code, and I need access to matplotlib.

Note code wise, the piece of code

import matplotlib.pyplot as plt plt.plot([1,2,3,4], [1,4,9,16]) is sufficient to produce the error, but no error is produced otherwise until anything is plotted.


Источник: https://stackoverflow.com/questions/781 ... matplotlib

Вернуться в «Python»