Package: python3-matplotlib
Version: 3.3.0-1
Severity: critical
X-Debbugs-Cc: none, J-V Peetz <l...@dynato.kyma>

Dear Sandro Tosi,

in ipython3 the import of matplotlib.pyplot fails:

In[1]: import matplotlib.pyplot as plt

---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-1-a0d2faabd9e9> in <module>
----> 1 import matplotlib.pyplot as plt

/usr/lib/python3/dist-packages/matplotlib/__init__.py in <module>
    897 # by explicitly calling the superclass (dict.update, dict.items) to 
avoid
    898 # triggering resolution of _auto_backend_sentinel.
--> 899 rcParamsDefault = _rc_params_in_file(
    900     cbook._get_data_path("matplotlibrc"),
    901     # Strip leading comment.

/usr/lib/python3/dist-packages/matplotlib/__init__.py in
_rc_params_in_file(fname, transform, fail_on_error)
    796     """
    797     rc_temp = {}
--> 798     with _open_file_or_url(fname) as fd:
    799         try:
    800             for line_no, line in enumerate(fd, 1):

/usr/lib/python3.8/contextlib.py in __enter__(self)
    111         del self.args, self.kwds, self.func
    112         try:
--> 113             return next(self.gen)
    114         except StopIteration:
    115             raise RuntimeError("generator didn't yield") from None

/usr/lib/python3/dist-packages/matplotlib/__init__.py in 
_open_file_or_url(fname)
    774         if encoding is None:
    775             encoding = "utf-8"
--> 776         with open(fname, encoding=encoding) as f:
    777             yield f
    778

FileNotFoundError: [Errno 2] No such file or directory:
'/usr/share/matplotlib/mpl-data/matplotlibrc'

Any idea?

Regards,
Jörg.


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (5, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.9 (SMP w/8 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages python3-matplotlib depends on:
ii  libc6                               2.30-8
ii  libfreetype6                        2.10.2+dfsg-3
ii  libgcc-s1                           10.1.0-6
ii  libjs-jquery                        3.5.1+dfsg-4
ii  libjs-jquery-ui                     1.12.1+dfsg-5
ii  libstdc++6                          10.1.0-6
ii  python-matplotlib-data              3.3.0-1
ii  python3                             3.8.2-3
ii  python3-cycler                      0.10.0-3
ii  python3-dateutil                    2.8.1-4
ii  python3-kiwisolver                  1.0.1-3+b1
ii  python3-numpy [python3-numpy-abi9]  1:1.19.0-1
ii  python3-pil                         7.2.0-1
ii  python3-pyparsing                   2.4.7-1
ii  python3-six                         1.15.0-1

Versions of packages python3-matplotlib recommends:
ii  python3-tk  3.8.5-1

Versions of packages python3-matplotlib suggests:
ii  dvipng                 1.15-1.1+b1
ii  ffmpeg                 7:4.3-3+b1
ii  ghostscript            9.52~dfsg-1
ii  gir1.2-gtk-3.0         3.24.20-1
ii  inkscape               1.0-3
ii  ipython3               7.16.1-1
ii  librsvg2-common        2.48.7-1
pn  python-matplotlib-doc  <none>
pn  python3-cairocffi      <none>
ii  python3-gi             3.36.0-4
ii  python3-gi-cairo       3.36.0-4
pn  python3-gobject        <none>
pn  python3-nose           <none>
pn  python3-pyqt5          <none>
ii  python3-scipy          1.4.1-2
pn  python3-sip            <none>
ii  python3-tornado        6.0.4-2
ii  texlive-extra-utils    2020.20200629-1
ii  texlive-latex-extra    2020.20200629-1
pn  ttf-staypuft           <none>

-- no debconf information

Reply via email to