Open jdsjdk opened 10 months ago
there's already a pr for this: #1415 as it seems to take a while before the pr is accepted, you can consider installing from there instead
There is indeed a PR (which is closed, because apparently a fix already exists in master
), but since the latest release (3.32) of thefuck is of January 2022 (which indeed is over two years ago at the moment of writing), the fix has not been rolled out...
I guess the workaround is to install thefuck from source and update it manually every now and then?
Less then ideal imho.
When I first try running
thefuck
- I noticed that a deprecated python module is being used:imp
. I can see that it has been replaced byimportlib
in the latest version.I can tell that no one has reported this issue as of yet. Python 3.12.0 was just recently released.
The output of
thefuck --version
(something likeThe Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release
):I'll provide what I can. Since the latest version of
thefuck
is not working with 3.12, then I just get the same error:but my shell version is the following: fish, version 3.6.1 Oh My Fish version 7
Your system (Debian 7, ArchLinux, Windows, etc.):
CentOS 9 Stream.
How to reproduce the bug:
just type in
thefuck
orfuck
and you should get that error once you install setuptools to fix the previous bug.The output of The Fuck with
THEFUCK_DEBUG=true
exported (typically executeexport THEFUCK_DEBUG=true
in your shell before The Fuck): that really didn't do anything or have any significant change.If the bug only appears with a specific application, the output of that application and its version:
N/A
Anything else you think is relevant:
N/A