[Bug 1762593] [NEW] anki crashed with ModuleNotFoundError in /usr/share/anki/anki/mpv.py: No module named 'distutils.spawn'

Launchpad Bug Tracker 1762593 at bugs.launchpad.net
Fri Aug 17 18:13:46 UTC 2018

You have been subscribed to a public bug by Rolf Leggewie (r0lf):

I suspect that a dependency is missing.

Here is the error when starting from the command line

$ anki
Traceback (most recent call last):
  File "/usr/bin/anki", line 6, in <module>
    import aqt
  File "/usr/share/anki/aqt/__init__.py", line 4, in <module>
    from anki import version as _version
  File "/usr/share/anki/anki/__init__.py", line 14, in <module>
    from anki.storage import Collection
  File "/usr/share/anki/anki/storage.py", line 11, in <module>
    from anki.collection import _Collection
  File "/usr/share/anki/anki/collection.py", line 25, in <module>
    from anki.sound import stripSounds
  File "/usr/share/anki/anki/sound.py", line 87, in <module>
    from anki.mpv import MPV, MPVBase
  File "/usr/share/anki/anki/mpv.py", line 39, in <module>
    from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils.spawn'

ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: anki 2.1.0+dfsg~b36-1
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity:Unity7:ubuntu
Date: Sun Apr  8 16:56:22 2018
ExecutablePath: /usr/bin/anki
InterpreterPath: /usr/bin/python3.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/anki
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-2
PythonArgs: ['/usr/bin/anki']
PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
SourcePackage: anki
Title: anki crashed with ModuleNotFoundError in /usr/share/anki/anki/mpv.py: No module named 'distutils.spawn'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

** Affects: anki (Ubuntu)
     Importance: Medium
         Status: Fix Released

** Affects: anki (Debian)
     Importance: Unknown
         Status: Unknown

** Tags: amd64 apport-crash bionic
anki crashed with ModuleNotFoundError in /usr/share/anki/anki/mpv.py: No module named 'distutils.spawn'
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.

More information about the Ubuntu-sponsors mailing list