Package: python-backports.functools_lru_cache
Version: 1.5-1
Severity: important

Dear Maintainer,

When trying to use matplotlib (python2 version), we have got this error message

>>> import matplotlib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/matplotlib/__init__.py", line 130, in 
<module>
    from matplotlib.rcsetup import defaultParams, validate_backend, cycler
  File "/usr/lib/python2.7/dist-packages/matplotlib/rcsetup.py", line 29, in 
<module>
    from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
  File "/usr/lib/python2.7/dist-packages/matplotlib/fontconfig_pattern.py", 
line 28, in <module>
    from backports.functools_lru_cache import lru_cache
ImportError: No module named backports.functools_lru_cache

so we tried to import directly the module like this:

python -c "import backports.functools_lru_cache; print 
backports.functools_lru_cache"

like debci does.

and here the result.

(unstable-amd64-sbuild)root@diffabs6:~# python -c "import 
backports.functools_lru_cache; print backports.functools_lru_cache"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named backports.functools_lru_cache

thanks.


-- System Information:
Debian Release: 9.5
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-0.bpo.3-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to