Package: python3-matplotlib Severity: normal When python3-matplotlib is installed from the debian repository, it shows that it requires backports.functools-lru-cache and subprocess32.
pip3 show matplotlib Name: matplotlib Version: 2.1.1 Summary: Python plotting package Home-page: http://matplotlib.org Author: John D. Hunter, Michael Droettboom Author-email: matplotlib-us...@python.org License: BSD Location: /usr/lib/python3/dist-packages Requires: backports.functools-lru-cache, subprocess32 However, pip3 shows that backports... and subprocess32 is not installed. Which is a good thing because they are only valid for python2. # pip3 show subprocess32 # pip3 show backports.functools-lru-cache # However, when I use pip3 to install packages that are not in debian and pip3 sees the two requirements, it tries to install them and errors out saying that subprocess32 is only for python2. # pip3 install mlxtend Collecting mlxtend Using cached mlxtend-0.11.0-py2.py3-none-any.whl Requirement already satisfied: numpy>=1.10.4 in /usr/lib/python3/dist-packages (from mlxtend) Requirement already satisfied: scikit-learn>=0.18 in /usr/lib/python3/dist- packages (from mlxtend) Requirement already satisfied: matplotlib>=1.5.1 in /usr/lib/python3/dist- packages (from mlxtend) Requirement already satisfied: pandas>=0.17.1 in /usr/lib/python3/dist-packages (from mlxtend) Requirement already satisfied: scipy>=0.17 in /usr/lib/python3/dist-packages (from mlxtend) Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from mlxtend) Collecting backports.functools_lru_cache (from matplotlib>=1.5.1->mlxtend) Using cached backports.functools_lru_cache-1.5-py2.py3-none-any.whl Collecting subprocess32 (from matplotlib>=1.5.1->mlxtend) Using cached subprocess32-3.2.7.tar.gz Complete output from command python setup.py egg_info: This backport is for Python 2.x only. This can be fixed by uninstalling debian's python3-matplotlib and using pip3 to install matplotlib which doesn't have the backports... and subprocess32 requirement. Then the other package that depends on matplotlib installs successfully. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.15.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-matplotlib depends on: ii libc6 2.27-2 ii libfreetype6 2.8.1-2 ii libgcc1 1:8-20180321-1 ii libjs-jquery 3.2.1-1 ii libjs-jquery-ui 1.12.1+dfsg-5 ii libpng16-16 1.6.34-1 ii libstdc++6 8-20180321-1 ii python-matplotlib-data 2.1.1-2 ii python3 3.6.4-1 ii python3-cycler 0.10.0-1 ii python3-dateutil 2.6.1-1 ii python3-numpy [python3-numpy-abi9] 1:1.13.3-2 ii python3-pyparsing 2.2.0+dfsg1-2 ii python3-six 1.11.0-2 ii python3-tz 2018.3-2 ii zlib1g 1:1.2.8.dfsg-5 Versions of packages python3-matplotlib recommends: ii python3-pil 4.3.0-2 ii python3-tk 3.6.5~rc1-1 Versions of packages python3-matplotlib suggests: pn dvipng <none> pn ffmpeg <none> ii ghostscript 9.22~dfsg-2 ii gir1.2-gtk-3.0 3.22.29-2 ii inkscape 0.92.3-1 pn ipython3 <none> ii librsvg2-common 2.40.20-2 pn python-matplotlib-doc <none> pn python3-cairocffi <none> ii python3-gi 3.26.1-2 ii python3-gi-cairo 3.26.1-2 pn python3-gobject <none> ii python3-nose 1.3.7-4 pn python3-pyqt4 <none> ii python3-scipy 0.19.1-2 ii python3-sip 4.19.8+dfsg-1 ii python3-tornado 5.0.0-1 pn texlive-extra-utils <none> ii texlive-latex-extra 2017.20180305-2 pn ttf-staypuft <none> Brent S. Elmer, Ph.D. This email and any attachments were sent from a Monsanto email account and may contain confidential and/or privileged information. If you are not the intended recipient, please contact the sender and delete this email and any attachments immediately. Any unauthorized use, including disclosing, printing, storing, copying or distributing this email, is prohibited. All emails and attachments sent to or from Monsanto email accounts may be subject to monitoring, reading, and archiving by Monsanto, including its affiliates and subsidiaries, as permitted by applicable law. Thank you.