[Debian-astro-maintainers] Bug#950033: missing dependencies on python3-healpy and python3-tk

Christoph Berg myon at debian.org
Tue Jan 28 15:18:07 GMT 2020


Package: pymoctool
Version: 0.5.0-4
Severity: normal

pymoctool is missing dependencies on python3-healpy and python3-tk:

$ pymoctool ../cepheiden.moc --plot
Traceback (most recent call last):
  File "/usr/bin/pymoctool", line 40, in <module>
    main()
  File "/usr/bin/pymoctool", line 33, in main
    tool.run(sys.argv[1:])
  File "/usr/lib/python3/dist-packages/pymoc/util/tool.py", line 111, in run
    self.command[p](self)
  File "/usr/lib/python3/dist-packages/pymoc/util/tool.py", line 380, in plot
    from .plot import plot_moc
  File "/usr/lib/python3/dist-packages/pymoc/util/plot.py", line 16, in <module>
    import healpy
ModuleNotFoundError: No module named 'healpy'

... installing python3-healpy:

$ pymoctool ../cepheiden.moc --plot
Traceback (most recent call last):
  File "/usr/bin/pymoctool", line 40, in <module>
    main()
  File "/usr/bin/pymoctool", line 33, in main
    tool.run(sys.argv[1:])
  File "/usr/lib/python3/dist-packages/pymoc/util/tool.py", line 111, in run
    self.command[p](self)
  File "/usr/lib/python3/dist-packages/pymoc/util/tool.py", line 380, in plot
    from .plot import plot_moc
  File "/usr/lib/python3/dist-packages/pymoc/util/plot.py", line 18, in <module>
    import matplotlib.pyplot as plt
  File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 2349, in <module>
    switch_backend(rcParams["backend"])
  File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 221, in switch_backend
    backend_mod = importlib.import_module(backend_name)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py", line 1, in <module>
    from . import _backend_tk
  File "/usr/lib/python3/dist-packages/matplotlib/backends/_backend_tk.py", line 6, in <module>
    import tkinter as tk
ModuleNotFoundError: No module named 'tkinter'

... after installing python3-tk, rendering works.

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

Kernel: Linux 5.4.0-3-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de:en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pymoctool depends on:
ii  python3        3.7.5-3
ii  python3-pymoc  0.5.0-4

pymoctool recommends no packages.

pymoctool suggests no packages.

-- no debconf information

Christoph



More information about the Debian-astro-maintainers mailing list