tbenthompson/okada_wrapper

Latex could not be found

rzinke opened this issue · 1 comments

I am attempting to install okada_wrapper on a Linux machine.
$ pip install okada_wrapper nominally worked, though when I tried to run test_okada.py I got a matplotlib-related error message that says "RuntimeError: Failed to process string with tex because latex could not be found"

I have attached the full error message for reference.

Hopefully this is an easy error to solve, but I am not sure where to start. Please let me know if you can help.

Thank you,
Rob
Latex-error.txt

You can comment out line 9 here:

matplotlib.rcParams['text.usetex'] = True

Then, the plotting functions will no longer attempt to use latex for text processing. That should solve your issue.

Alternatively, you can install latex!