Question #671286 on Yade changed: https://answers.launchpad.net/yade/+question/671286
Harsh Patel posted a new comment: Hello Jerome, Thank you for replying. Firstly, I changed the title of the question as told by you. Secondly, I followed all the troubleshooting methods explained in this post (https://stackoverflow.com/questions/47179433/python-2-7-functools-lru-cache-does-not-import-although-installed/49335954#49335954) but I am still getting the same error: ---------------------------------------------------------- In [1]: from yade import plot --------------------------------------------------------------------------- ImportError Traceback (most recent call last) /usr/bin/yade in <module>() ----> 1 from yade import plot /usr/lib/x86_64-linux-gnu/yade/py/yade/plot.py in <module>() 23 24 ---> 25 import matplotlib,os,time,math,itertools 26 27 # running in batch /usr/lib/python2.7/dist-packages/matplotlib/__init__.py in <module>() 125 _backports, mplDeprecation, dedent, get_label, sanitize_sequence) 126 from matplotlib.compat import subprocess --> 127 from matplotlib.rcsetup import defaultParams, validate_backend, cycler 128 129 import numpy /usr/lib/python2.7/dist-packages/matplotlib/rcsetup.py in <module>() 27 28 from matplotlib.cbook import mplDeprecation, deprecated, ls_mapper ---> 29 from matplotlib.fontconfig_pattern import parse_fontconfig_pattern 30 from matplotlib.colors import is_color_like 31 /usr/lib/python2.7/dist-packages/matplotlib/fontconfig_pattern.py in <module>() 30 from functools import lru_cache 31 except ImportError: ---> 32 from backports.functools_lru_cache import lru_cache 33 34 family_punc = r'\\\-:,' ImportError: No module named functools_lru_cache ------------------------------------------- Any help to troubleshoot this would be appreciated. I am not able to use YADE because of this for quite a long time. -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

