Public bug reported:

thefuck is missing a dependency on the python-pkg-resources, or possibly
the python package is

➜  ~ lsb_release -rd
Description:    Ubuntu 18.04.3 LTS
Release:        18.04

➜  ~ thefuck
Traceback (most recent call last):
  File "/usr/bin/thefuck", line 6, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

➜  ~ dpkg -l |grep thefuck
ii  thefuck                                3.11-2                             
all          spelling corrector of console commands

➜  ~ sudo apt-get install python-pkg-resources
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  python-setuptools
The following NEW packages will be installed:
  python-pkg-resources
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 128 kB of archives.
After this operation, 558 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-pkg-resources 
all 39.0.1-2 [128 kB]
Fetched 128 kB in 0s (1135 kB/s)
Selecting previously unselected package python-pkg-resources.
(Reading database ... 59133 files and directories currently installed.)
Preparing to unpack .../python-pkg-resources_39.0.1-2_all.deb ...
Unpacking python-pkg-resources (39.0.1-2) ...
Setting up python-pkg-resources (39.0.1-2) ...

➜  ~ thefuck
usage: thefuck [-h] [-v] [-a] [command [command ...]]

** Affects: thefuck (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1856052

Title:
  thefuck missing dependendency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thefuck/+bug/1856052/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to