Package "thefuck" missing a dependendency on "python3-distutils"

Bug #1875178 reported by Marcos Alano
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
thefuck (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I tried to execute thefuck on a fresh Ubuntu 20.04 LTS installation but this error occurs:

Traceback (most recent call last):
  File "/usr/bin/thefuck", line 9, in <module>
    from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils.spawn'

That's a clear missing dependency on package python3-distutils. After I install that the command works again.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thefuck (Ubuntu):
status: New → Confirmed
Changed in thefuck (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Marcos Alano (mhalano) wrote :

I completely forgot about this bug report. :)

Unfortunately, with Ubuntu 24.04 LTS thefuck stopped working again, but this time because of Python 3.12. There are folks trying to work on this, though.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.